Verified Commit 1a761e09 authored by Frauke's avatar Frauke

Fixed issue with fake code on production

parent 650cca2b
......@@ -21,7 +21,7 @@ module.exports = {
const code = new AccountCode(context.data.accountCode)
return code.getMetaData()
.then(accountMetaData => {
if (context.data.accountCode === 'is-correct-0000' && process.env['NODE_ENV'] !== 'production') {
if (context.data.accountCode === 'is-correct-0000') {
return code.setDomain(null).then(() => {
accountMetaData.ready = false
accountMetaData.domain = null
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment