Merge branch 'fix/data-filtering' of github.com:Budibase/budibase into feature/formula-filtering

This commit is contained in:
mike12345567 2022-01-20 18:07:51 +00:00
commit 963cf5b4ed
1 changed files with 1 additions and 0 deletions

View File

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