Skip to content

Commit

Permalink
Merge branch 'master' into 1742-Setup_sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
serdiukov-o-nordwhale committed Jul 14, 2020
2 parents 96b6f5c + 308fdcc commit ac7b0e4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/mautic/mauticAPI.js
Expand Up @@ -53,7 +53,7 @@ export const Mautic = {
},

async createContact(user: UserRecord) {
const tags = ['dappuser']
const tags = [Config.newuserTag]
if (user.email === undefined) {
log.error('failed creating contact, no email.', 'Email is required', new Error('Email is required'), { user })
return Promise.reject('failed creating contact. no email.')
Expand Down
6 changes: 6 additions & 0 deletions src/server/server.config.js
Expand Up @@ -485,6 +485,12 @@ const conf = convict({
format: String,
default: 'gooddollar-auth0-sms-passwordless',
env: 'TORUS_AUTH0SMS'
},
newuserTag: {
doc: 'mautic tag for new user. incremented by phases',
format: String,
default: 'dappuser',
env: 'MAUTIC_NEWUSER_TAG'
}
})

Expand Down

0 comments on commit ac7b0e4

Please sign in to comment.