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");