From 6c78383dbd9f99fc698fe6eb3fabd712b833e5fd Mon Sep 17 00:00:00 2001 From: Mathis Hofer Date: Tue, 18 Jun 2024 13:14:37 +0200 Subject: [PATCH] Change CLX-Authorization header to Authorization #178 --- src/utils/fetch.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/fetch.ts b/src/utils/fetch.ts index e317841c..82dba068 100644 --- a/src/utils/fetch.ts +++ b/src/utils/fetch.ts @@ -130,7 +130,7 @@ async function fetchApi( } const headers = new Headers({ - "CLX-Authorization": `token_type=urn:ietf:params:oauth:token-type:jwt-bearer, access_token=${accessToken}`, + Authorization: `Bearer ${accessToken}`, "Content-Type": "application/json", });