0
Fork 0
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:
Fabien O'Carroll 2019-10-02 15:15:07 +07:00
parent e54b61297c
commit 018471c07c

View file

@ -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);
}