1
0
Fork 0
mirror of synced 2024-09-29 16:51:33 +13:00

Merge pull request #4131 from Budibase/fix/data-filtering

Quick fix for data section filtering
This commit is contained in:
Michael Drury 2022-01-20 18:51:31 +00:00 committed by GitHub
commit 1ac24545dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,6 +6,7 @@ const apiCall =
method =>
async (url, body, headers = { "Content-Type": "application/json" }) => {
headers["x-budibase-app-id"] = svelteGet(store).appId
headers["x-budibase-api-version"] = "1"
const json = headers["Content-Type"] === "application/json"
const resp = await fetch(url, {
method: method,