Updates
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user