remove console log
This commit is contained in:
parent
9761ac21e0
commit
3264441fca
|
@ -70,8 +70,6 @@ exports.update = async function (ctx) {
|
||||||
const response = await db.put(user)
|
const response = await db.put(user)
|
||||||
user._rev = response.rev
|
user._rev = response.rev
|
||||||
|
|
||||||
console.log(response)
|
|
||||||
|
|
||||||
ctx.status = 200
|
ctx.status = 200
|
||||||
ctx.message = `User ${ctx.request.body.username} updated successfully.`
|
ctx.message = `User ${ctx.request.body.username} updated successfully.`
|
||||||
ctx.body = response
|
ctx.body = response
|
||||||
|
|
Loading…
Reference in New Issue