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