1
0
Fork 0
mirror of synced 2024-06-28 02:50:50 +12:00
This commit is contained in:
Mel O'Hagan 2022-10-27 13:49:59 +01:00
parent 4ec5ce1bbd
commit e8cd6facfd

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
} }