From 23a9fc709f2f1f9b57710ac241f4dda3bc32cca4 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Thu, 20 Jan 2022 18:06:14 +0000 Subject: [PATCH] Minor fix, when testing the filtering the data section noticed some stuff didn't work, like filtering by just a number (which is actually text) we fixed this previously but had to version the API to fix it, builder needed to send up the API version it desires to use. --- packages/builder/src/builderStore/api.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/builder/src/builderStore/api.js b/packages/builder/src/builderStore/api.js index 897d3a74db..a5c6ceba54 100644 --- a/packages/builder/src/builderStore/api.js +++ b/packages/builder/src/builderStore/api.js @@ -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,