Fix Bad APIkey handling
This commit is contained in:
parent
cf04fffdad
commit
464a10f641
|
@ -44,7 +44,7 @@ class PublicAPIClient {
|
||||||
method,
|
method,
|
||||||
body: JSON.stringify(options.body),
|
body: JSON.stringify(options.body),
|
||||||
headers: {
|
headers: {
|
||||||
"x-budibase-api-key": this.apiKey ? this.apiKey : null,
|
"x-budibase-api-key": this.apiKey || null,
|
||||||
"x-budibase-app-id": this.appId,
|
"x-budibase-app-id": this.appId,
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
Accept: "application/json",
|
Accept: "application/json",
|
||||||
|
|
Loading…
Reference in New Issue