mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-18 02:21:47 -05:00
Fixed usage of updateMember to use id correctly
no-issue
This commit is contained in:
parent
e54b61297c
commit
018471c07c
1 changed files with 2 additions and 2 deletions
|
@ -49,8 +49,8 @@ module.exports = function ({
|
|||
}
|
||||
|
||||
async function update(data, options) {
|
||||
debug(`update id:${data.id} email:${data.email}`);
|
||||
await getMember(data, options);
|
||||
debug(`update id:${options.id}`);
|
||||
await getMember({id: options.id});
|
||||
return updateMember(data, options);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue