From 9ddea4d53d88432ed7ef8f87f66956f1cd3aed15 Mon Sep 17 00:00:00 2001 From: Timo Schneider Date: Wed, 12 Jun 2024 10:48:41 +0200 Subject: [PATCH] removed doblicated authorization --- src/api/posts.api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/posts.api.js b/src/api/posts.api.js index aa4a16e..65a3ca1 100644 --- a/src/api/posts.api.js +++ b/src/api/posts.api.js @@ -38,7 +38,7 @@ export const postApi = { "longitude": location.lon, "latitude": location.lat, } - }, { Authorization: `Bearer ${keycloak.token}`}); + }); } } else { console.log("Geolocation is not supported by this browser. Could'nt post without valid location");