lint complaint fix
This commit is contained in:
Richard Grant 2021-02-21 02:27:04 -08:00 committed by GitHub
parent 2dac471b2f
commit 8ed6dbb312
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ exports.patch = async function(ctx) {
// the row has been updated, need to put it into the ctx // the row has been updated, need to put it into the ctx
ctx.request.body = { ctx.request.body = {
...row, ...row,
password: ctx.request.body.password password: ctx.request.body.password,
} }
await usersController.update(ctx) await usersController.update(ctx)
return return