This commit is contained in:
2026-01-01 09:22:51 +01:00
parent b8e5d45762
commit 8277ff3e41
8 changed files with 31 additions and 35 deletions
+2
View File
@@ -19,6 +19,7 @@ export default async function clientCrudFetch<
method = "GET",
apiOrigin,
headers,
...options
}: ClientCrudFetchParams<T, P>) {
try {
let pathname = basePath || ``;
@@ -46,6 +47,7 @@ export default async function clientCrudFetch<
method,
body,
headers,
...options,
});
return res;