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, componentLibraries,
onScreenSlotRendered, onScreenSlotRendered,
}) => { }) => {
const apiCall = method => (url, body) => const apiCall = method => (url, body) =>
fetch(url, { fetch(url, {
method: method, method: method,

View File

@ -178,7 +178,7 @@ const createUserWithPermissions = async (
const loginResult = await request const loginResult = await request
.post(`/api/authenticate`) .post(`/api/authenticate`)
.set({ Cookie: `budibase:appid=${designDoc.metadata.applicationId}`}) .set({ Cookie: `budibase:appid=${designDoc.metadata.applicationId}` })
.send({ username, password }) .send({ username, password })
// returning necessary request headers // returning necessary request headers