diff --git a/core/server/api/v3/members.js b/core/server/api/v3/members.js index 1594279abe..7898634e73 100644 --- a/core/server/api/v3/members.js +++ b/core/server/api/v3/members.js @@ -154,7 +154,11 @@ module.exports = { } if (frame.options.send_email) { - await membersService.api.sendEmailWithMagicLink({email: member.get('email'), requestedType: frame.options.email_type}); + await membersService.api.sendEmailWithMagicLink({ + email: member.get('email'), requestedType: frame.options.email_type, options: { + forceEmailType: true + } + }); } return member; diff --git a/package.json b/package.json index 4bed081247..b71d0a572d 100644 --- a/package.json +++ b/package.json @@ -79,7 +79,7 @@ "@tryghost/limit-service": "0.6.5", "@tryghost/logging": "1.0.0", "@tryghost/magic-link": "1.0.14", - "@tryghost/members-api": "2.6.0", + "@tryghost/members-api": "2.6.1", "@tryghost/members-csv": "1.1.8", "@tryghost/members-importer": "0.3.4", "@tryghost/members-offers": "0.10.1", diff --git a/yarn.lock b/yarn.lock index ee8f17cafd..c77c13fa87 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1513,10 +1513,10 @@ "@tryghost/domain-events" "^0.1.3" "@tryghost/member-events" "^0.3.1" -"@tryghost/members-api@2.6.0": - version "2.6.0" - resolved "https://registry.yarnpkg.com/@tryghost/members-api/-/members-api-2.6.0.tgz#910398f53d0b13088982440d4a961a9d01566708" - integrity sha512-xVZr62kQJozOm4BMVboaweMJMXnmUhtLHgnLAmBZzyk62JViv7n6czp8frn/FZkBLWqyijNHxfhcmueOX0tJcg== +"@tryghost/members-api@2.6.1": + version "2.6.1" + resolved "https://registry.yarnpkg.com/@tryghost/members-api/-/members-api-2.6.1.tgz#6620fe7bf0d28ac433292a534fe651e20f9c3a6a" + integrity sha512-GKVjS8EVnMC7AsB6J1Ku7TfcSsuQtdPuDy+PKw2aJQbDxIUo4pZf/fIlGMyusABpe4Twz65JVV/B4lk4VykFwQ== dependencies: "@tryghost/debug" "^0.1.2" "@tryghost/domain-events" "^0.1.3"