Fixed lint

no refs
This commit is contained in:
Rish 2020-10-29 17:54:18 +05:30
parent 2c2d639838
commit 0ec84d1948

View File

@ -240,7 +240,7 @@ module.exports = function MembersApi({
} }
} else { } else {
const tokenData = _.pick(req.body, ['labels', 'name', 'oldEmail']); const tokenData = _.pick(req.body, ['labels', 'name', 'oldEmail']);
await sendEmailWithMagicLink({email, tokenData, requestedType: emailType, requestSrc, options: { forceEmailType }}); await sendEmailWithMagicLink({email, tokenData, requestedType: emailType, requestSrc, options: {forceEmailType}});
} }
res.writeHead(201); res.writeHead(201);
return res.end('Created.'); return res.end('Created.');