fix: Parameter "m" und "u" in Front- und Backend und Parameter idMap und idUser entfernen für Webservices

This commit is contained in:
ISA
2025-05-15 12:29:59 +02:00
parent 0a046974bc
commit 24ee77bd28
14 changed files with 153 additions and 24 deletions

View File

@@ -4,9 +4,10 @@ const apiBaseUrl = process.env.NEXT_PUBLIC_API_BASE_URL;
export async function fetchGisSystemStatic() {
const params = new URLSearchParams(window.location.search);
const idMap = params.get("idMap");
const idUser = params.get("idUser");
const idMap = params.get("m");
const idUser = params.get("u");
//console.log("🔍 fetchGisSystemStatic - idMap:", idMap);
//console.log("🔍 fetchGisSystemStatic - idUser:", idUser);
//console.log("🔍 fetchGisSystemStatic - URL:", `${apiBaseUrl}/GisSystemStatic?idMap=${idMap}&idUser=${idUser}`);
const response = await fetch(`${apiBaseUrl}/GisSystemStatic?idMap=${idMap}&idUser=${idUser}`);