removed doblicated authorization

This commit is contained in:
2024-06-12 10:48:41 +02:00
parent be9d309f4d
commit 9ddea4d53d

View File

@@ -38,7 +38,7 @@ export const postApi = {
"longitude": location.lon, "longitude": location.lon,
"latitude": location.lat, "latitude": location.lat,
} }
}, { Authorization: `Bearer ${keycloak.token}`}); });
} }
} else { } else {
console.log("Geolocation is not supported by this browser. Could'nt post without valid location"); console.log("Geolocation is not supported by this browser. Could'nt post without valid location");