Remove ! from error message
This commit is contained in:
parent
b130f90f3e
commit
31c6ec49bb
|
@ -38,7 +38,7 @@ export async function patch(ctx: any): Promise<any> {
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
if (!row) {
|
if (!row) {
|
||||||
ctx.throw(404, "Row not found!")
|
ctx.throw(404, "Row not found")
|
||||||
}
|
}
|
||||||
ctx.status = 200
|
ctx.status = 200
|
||||||
ctx.eventEmitter &&
|
ctx.eventEmitter &&
|
||||||
|
|
Loading…
Reference in New Issue