mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 11:55:03 +03:00
Returned fully hydrated member object when creating member
no-issue
This commit is contained in:
parent
1e61c08c0c
commit
d741cd9fba
@ -71,7 +71,8 @@ module.exports = function MembersApi({
|
||||
if (member) {
|
||||
return member;
|
||||
}
|
||||
return users.create({email});
|
||||
await users.create({email});
|
||||
return getMemberIdentityData(email);
|
||||
}
|
||||
async function getMemberIdentityData(email){
|
||||
return users.get({email});
|
||||
|
Loading…
Reference in New Issue
Block a user