mirror of
https://dev.azure.com/tstanciu94/NetworkResurrector/_git/NetworkResurrector
synced 2025-06-21 19:17:04 +03:00
Remove commented-out deleteFetcher function from fetchers.ts to clean up code
This commit is contained in:
parent
a664a4ade9
commit
8f9c03f400
@ -34,11 +34,4 @@ async function mutationFetcher<Command>(url: string, { arg }: { arg: Command })
|
||||
}).then(res => res.json());
|
||||
}
|
||||
|
||||
// async function deleteFetcher<Command>(url: string, { arg }: { arg: Command }) {
|
||||
// return fetch(combine(url, arg as number), {
|
||||
// method: "DELETE",
|
||||
// headers: getHeaders()
|
||||
// }).then(res => res.json());
|
||||
// }
|
||||
|
||||
export { fetcher, mutationFetcher };
|
||||
|
Loading…
x
Reference in New Issue
Block a user