mirror of
https://github.com/ND-Framework/ND_Core.git
synced 2026-11-20 02:58:35 +00:00
feat: admin group panel
This commit is contained in:
1 parent
ec05cce082
commit
b7222a1f8f
14 files changed
+1177
-11
No files matched your search
@@ -0,0 +1,9 @@
|
||||
export function fetchCallback(name, data, cb) {
|
||||
fetch(`https://${GetParentResourceName()}/${name}`, {
|
||||
method: "POST",
|
||||
headers: { "Content-Type": "application/json; charset=UTF-8" },
|
||||
body: JSON.stringify(data)
|
||||
}).then(resp => resp.json()).then(resp => {
|
||||
if (cb) cb(resp);
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user