From c87b960ebf1bad4e7fe8d0e4721ed43ce1e28d1e Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Mon, 21 Jun 2021 18:40:36 +0100 Subject: [PATCH] Linting. --- packages/server/src/api/controllers/dev.js | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/packages/server/src/api/controllers/dev.js b/packages/server/src/api/controllers/dev.js index af937da7f2..6dcd5727fb 100644 --- a/packages/server/src/api/controllers/dev.js +++ b/packages/server/src/api/controllers/dev.js @@ -11,10 +11,14 @@ async function redirect(ctx, method) { const { devPath } = ctx.params const response = await fetch( checkSlashesInUrl(`${env.WORKER_URL}/api/admin/${devPath}`), - request(ctx, { - method, - body: ctx.request.body, - }, true) + request( + ctx, + { + method, + body: ctx.request.body, + }, + true + ) ) if (response.status !== 200) { ctx.throw(response.status, response.statusText)