mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
Fixed getMemberIdentityData method
no-issue The users.get method expects an object with email prop
This commit is contained in:
parent
6e3f89691d
commit
d9fd07ef7f
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ module.exports = function MembersApi({
|
|||
return users.create({email});
|
||||
}
|
||||
async function getMemberIdentityData(email){
|
||||
return users.get(email);
|
||||
return users.get({email});
|
||||
}
|
||||
async function getMemberIdentityToken(email){
|
||||
const member = await getMemberIdentityData(email);
|
||||
|
|
Loading…
Add table
Reference in a new issue