This commit is contained in:
Mel O'Hagan 2022-10-27 13:49:59 +01:00
parent 5aa98fcbac
commit efc73caf44
1 changed files with 1 additions and 2 deletions

View File

@ -37,8 +37,7 @@ export async function patch(ctx: any): Promise<any> {
}
)
ctx.status = 200
ctx.eventEmitter &&
ctx.eventEmitter.emitRow(`row:update`, appId, row, table)
ctx.eventEmitter && ctx.eventEmitter.emitRow(`row:update`, appId, row, table)
ctx.message = `${table.name} updated successfully.`
ctx.body = row
}