This commit is contained in:
Mel O'Hagan 2022-10-27 13:49:59 +01:00
parent 4ec5ce1bbd
commit e8cd6facfd
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.status = 200
ctx.eventEmitter && ctx.eventEmitter && ctx.eventEmitter.emitRow(`row:update`, appId, row, table)
ctx.eventEmitter.emitRow(`row:update`, appId, row, table)
ctx.message = `${table.name} updated successfully.` ctx.message = `${table.name} updated successfully.`
ctx.body = row ctx.body = row
} }