Remove ! from error message

This commit is contained in:
Mel O'Hagan 2022-11-01 12:37:42 +00:00
parent b130f90f3e
commit 31c6ec49bb
1 changed files with 1 additions and 1 deletions

View File

@ -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 &&