parent
2dac471b2f
commit
8ed6dbb312
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue