diff --git a/core/server/api/canary/memberSigninUrls.js b/core/server/api/canary/memberSigninUrls.js index be75328656..1f683c8342 100644 --- a/core/server/api/canary/memberSigninUrls.js +++ b/core/server/api/canary/memberSigninUrls.js @@ -19,7 +19,7 @@ module.exports = { }); } - const magicLink = membersService.api.getMagicLink(model.get('email')); + const magicLink = await membersService.api.getMagicLink(model.get('email')); return { member_id: model.get('id'),