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