This commit is contained in:
2025-12-26 12:08:45 +01:00
parent f95cf21ffd
commit 5caa604b8f
9 changed files with 20 additions and 36 deletions
+2
View File
@@ -19,6 +19,7 @@ export default async function clientCrudFetch<
targetId,
method = "GET",
apiOrigin,
headers,
}: ClientCrudFetchParams<T, P>) {
try {
let pathname = basePath || ``;
@@ -43,6 +44,7 @@ export default async function clientCrudFetch<
>(pathname, {
method,
body,
headers,
});
return res;