refactor: Move API-Endpoint-Functions to /api/talas_v5_DB/ folder for better organization
This commit is contained in:
@@ -37,7 +37,7 @@ export const updateLocationInDatabase = async (
|
||||
newLatitude,
|
||||
newLongitude
|
||||
) => {
|
||||
const response = await fetch("/api/updateLocation", {
|
||||
const response = await fetch("/api/talas_v5_DB/pois/updateLocation", {
|
||||
method: "POST",
|
||||
headers: { "Content-Type": "application/json" },
|
||||
body: JSON.stringify({
|
||||
|
||||
Reference in New Issue
Block a user