1
0
Fork 0
mirror of synced 2024-06-30 03:50:37 +12:00
This commit is contained in:
Michael Shanks 2020-06-12 21:11:39 +01:00
parent 6c8a0dc8f2
commit 3b506f59cb
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