1
0
Fork 0
mirror of synced 2024-09-10 14:35:47 +12:00

Merge pull request #5575 from Budibase/fix/distinct-id

Fix: You must pass a 'distinctId' (public pages)
This commit is contained in:
Rory Powell 2022-04-26 08:47:22 +01:00 committed by GitHub
commit 0ebd797794

View file

@ -28,7 +28,7 @@ export const API = createAPIClient({
// Or we could check error.status and redirect to login on a 403 etc.
onError: error => {
const { status, method, url, message, handled } = error || {}
const ignoreErrorUrls = ["analytics", "/api/global/self"]
const ignoreErrorUrls = ["bbtel", "/api/global/self"]
// Log any errors that we haven't manually handled
if (!handled) {