Formatting.
This commit is contained in:
parent
c81a8ba3ed
commit
522ed9706c
|
@ -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")
|
||||||
|
|
||||||
|
|
|
@ -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()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue