From 464a10f64165626fe106ebe8a2ee5c35b00e94ce Mon Sep 17 00:00:00 2001 From: Pedro Silva Date: Mon, 13 Mar 2023 16:24:20 +0000 Subject: [PATCH] Fix Bad APIkey handling --- .../src/config/public-api/TestConfiguration/PublicAPIClient.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa-core/src/config/public-api/TestConfiguration/PublicAPIClient.ts b/qa-core/src/config/public-api/TestConfiguration/PublicAPIClient.ts index 657ca22ff8..1f563e7ab5 100644 --- a/qa-core/src/config/public-api/TestConfiguration/PublicAPIClient.ts +++ b/qa-core/src/config/public-api/TestConfiguration/PublicAPIClient.ts @@ -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",