1
0
Fork 0
mirror of synced 2024-10-02 10:08:09 +13:00

Fix Bad APIkey handling

This commit is contained in:
Pedro Silva 2023-03-13 16:24:20 +00:00
parent cf04fffdad
commit 464a10f641

View file

@ -44,7 +44,7 @@ class PublicAPIClient {
method,
body: JSON.stringify(options.body),
headers: {
"x-budibase-api-key": this.apiKey ? this.apiKey : null,
"x-budibase-api-key": this.apiKey || null,
"x-budibase-app-id": this.appId,
"Content-Type": "application/json",
Accept: "application/json",