From a43777c78bb5f80c625818be6a8cc267cd588ef0 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Thu, 29 Oct 2020 10:55:52 +0000 Subject: [PATCH] linting. --- packages/server/src/api/controllers/row.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/server/src/api/controllers/row.js b/packages/server/src/api/controllers/row.js index c4a44581d1..ccf26b02e2 100644 --- a/packages/server/src/api/controllers/row.js +++ b/packages/server/src/api/controllers/row.js @@ -66,8 +66,7 @@ exports.patch = async function(ctx) { row._rev = response.rev row.type = "row" - ctx.eventEmitter && - ctx.eventEmitter.emitRow(`row:update`, appId, row, table) + ctx.eventEmitter && ctx.eventEmitter.emitRow(`row:update`, appId, row, table) ctx.body = row ctx.status = 200 ctx.message = `${table.name} updated successfully.` @@ -133,8 +132,7 @@ exports.save = async function(ctx) { const response = await db.post(row) row._rev = response.rev - ctx.eventEmitter && - ctx.eventEmitter.emitRow(`row:save`, appId, row, table) + ctx.eventEmitter && ctx.eventEmitter.emitRow(`row:save`, appId, row, table) ctx.body = row ctx.status = 200 ctx.message = `${table.name} created successfully`