From 5b59a110a6442a77226abf9b6d0b1caa4eb24fa1 Mon Sep 17 00:00:00 2001 From: Michael Shanks Date: Fri, 12 Jun 2020 21:11:39 +0100 Subject: [PATCH] lint fix --- packages/client/src/state/bbComponentApi.js | 1 - packages/server/src/api/routes/tests/couchTestUtils.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/client/src/state/bbComponentApi.js b/packages/client/src/state/bbComponentApi.js index 4452b4839e..b022ddca27 100644 --- a/packages/client/src/state/bbComponentApi.js +++ b/packages/client/src/state/bbComponentApi.js @@ -9,7 +9,6 @@ export const bbFactory = ({ componentLibraries, onScreenSlotRendered, }) => { - const apiCall = method => (url, body) => fetch(url, { method: method, diff --git a/packages/server/src/api/routes/tests/couchTestUtils.js b/packages/server/src/api/routes/tests/couchTestUtils.js index 54a78c68a9..e21d459d3a 100644 --- a/packages/server/src/api/routes/tests/couchTestUtils.js +++ b/packages/server/src/api/routes/tests/couchTestUtils.js @@ -178,7 +178,7 @@ const createUserWithPermissions = async ( const loginResult = await request .post(`/api/authenticate`) - .set({ Cookie: `budibase:appid=${designDoc.metadata.applicationId}`}) + .set({ Cookie: `budibase:appid=${designDoc.metadata.applicationId}` }) .send({ username, password }) // returning necessary request headers