Skip to content

Commit

Permalink
Merge branch 'master' into fr-error-via-gundb
Browse files Browse the repository at this point in the history
  • Loading branch information
sirpy committed Aug 7, 2019
2 parents 225ac20 + e5b3cce commit 8192dc1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .env.dev
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ ZOOM_MIN_MATCH_LEVEL=1
ALLOW_DUPLICATE_USER_DATA=true
SKIP_EMAIL_VERIFICATION=true
SKIP_FACE_RECO=false
ALLOW_FACE_RECO_DUPS=false
ALLOW_FACE_RECO_DUPS=true
ROLLBAR_TOKEN=
3 changes: 1 addition & 2 deletions src/server/mautic/mauticAPI.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ export const Mautic = {
return this.baseQuery(`/contacts/${user.mauticId}/delete`, this.baseHeaders, {}, 'delete')
},
createContact(user: UserRecord) {
user.tags = ['dappuser']
return this.baseQuery('/contacts/new', this.baseHeaders, user)
return this.baseQuery('/contacts/new', this.baseHeaders, { ...user, tags: ['dappuser'] })
},
sendVerificationEmail(user: UserRecord, link: string) {
if (!(link && user.fullName && user.mauticId && Config.mauticVerifyEmailId))
Expand Down

0 comments on commit 8192dc1

Please sign in to comment.