1
0
Fork 0
mirror of synced 2024-09-30 00:57:16 +13:00
This commit is contained in:
Michael Shanks 2020-06-12 21:11:39 +01:00
parent f956e141b4
commit 5b59a110a6
2 changed files with 1 additions and 2 deletions

View file

@ -9,7 +9,6 @@ export const bbFactory = ({
componentLibraries,
onScreenSlotRendered,
}) => {
const apiCall = method => (url, body) =>
fetch(url, {
method: method,

View file

@ -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