Browse Source

lint fix

lint complaint fix
master
Richard Grant 6 years ago
committed by GitHub
parent
commit
8ed6dbb312
  1. 2
      packages/server/src/api/controllers/row.js

2
packages/server/src/api/controllers/row.js

@ -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…
Cancel
Save