Skip to content

Commit

Permalink
Fix Bad APIkey handling
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro Silva committed Mar 13, 2023
1 parent cb804d0 commit db11fd3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit db11fd3

Please sign in to comment.