From 7cb2cd2139f31e756926e762666d87937d850ebd Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Fri, 25 Mar 2022 12:15:42 +0000 Subject: [PATCH] Linting. --- packages/server/src/api/controllers/public/rows.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/server/src/api/controllers/public/rows.ts b/packages/server/src/api/controllers/public/rows.ts index 0a598690e6..c69ad27314 100644 --- a/packages/server/src/api/controllers/public/rows.ts +++ b/packages/server/src/api/controllers/public/rows.ts @@ -59,9 +59,7 @@ export async function update(ctx: any, next: any) { export async function destroy(ctx: any, next: any) { // set the body as expected, with the _id and _rev fields - ctx.request.body = await addRev( - fixRow({ _id: ctx.params.rowId }, ctx.params) - ) + ctx.request.body = await addRev(fixRow({ _id: ctx.params.rowId }, ctx.params)) await rowController.destroy(ctx) // destroy controller doesn't currently return the row as the body, need to adjust this // in the public API to be correct