Formatting.

This commit is contained in:
mike12345567 2021-06-01 16:02:20 +01:00
parent c81a8ba3ed
commit 522ed9706c
2 changed files with 5 additions and 3 deletions

View File

@ -27,7 +27,10 @@ const { cloneDeep } = require("lodash/fp")
const { processObject } = require("@budibase/string-templates") const { processObject } = require("@budibase/string-templates")
const { getAllApps } = require("../../utilities") const { getAllApps } = require("../../utilities")
const { USERS_TABLE_SCHEMA } = require("../../constants") const { USERS_TABLE_SCHEMA } = require("../../constants")
const { getDeployedApps, removeAppFromUserRoles } = require("../../utilities/workerRequests") const {
getDeployedApps,
removeAppFromUserRoles,
} = require("../../utilities/workerRequests")
const { clientLibraryPath } = require("../../utilities") const { clientLibraryPath } = require("../../utilities")
const { getAllLocks } = require("../../utilities/redis") const { getAllLocks } = require("../../utilities/redis")

View File

@ -174,7 +174,7 @@ exports.removeAppFromUserRoles = async appId => {
method: "DELETE", method: "DELETE",
headers: { headers: {
"x-budibase-api-key": env.INTERNAL_API_KEY, "x-budibase-api-key": env.INTERNAL_API_KEY,
} },
}) })
) )
if (response.status !== 200) { if (response.status !== 200) {
@ -182,4 +182,3 @@ exports.removeAppFromUserRoles = async appId => {
} }
return response.json() return response.json()
} }