json post base path bug fixed (#2647)

* json post base path bug fixed

* added comment field to group client management
This commit is contained in:
Ali Rahimi authored and GitHub committed 2025-01-23 21:33:47 +01:00
1 parent ac9ab828b5
commit 04cf250a54
2 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -81,7 +81,7 @@ class HttpUtil {
},
body: JSON.stringify(data),
};
const resp = await fetch(url, requestOptions);
const resp = await fetch(basePath + url.replace(/^\/+|\/+$/g, ''), requestOptions);
const response = await resp.json();
msg = this._respToMsg({data : response});