removed doblicated authorization
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user