Browse Source
Merge pull request #4131 from Budibase/fix/data-filtering
Quick fix for data section filtering
master
Michael Drury
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
packages/builder/src/builderStore/api.js
|
|
@ -6,6 +6,7 @@ const apiCall = |
|
|
method => |
|
|
method => |
|
|
async (url, body, headers = { "Content-Type": "application/json" }) => { |
|
|
async (url, body, headers = { "Content-Type": "application/json" }) => { |
|
|
headers["x-budibase-app-id"] = svelteGet(store).appId |
|
|
headers["x-budibase-app-id"] = svelteGet(store).appId |
|
|
|
|
|
headers["x-budibase-api-version"] = "1" |
|
|
const json = headers["Content-Type"] === "application/json" |
|
|
const json = headers["Content-Type"] === "application/json" |
|
|
const resp = await fetch(url, { |
|
|
const resp = await fetch(url, { |
|
|
method: method, |
|
|
method: method, |
|
|
|