fix api types, add more form fields

This commit is contained in:
uubulb
2024-11-15 21:28:48 +08:00
parent 08560316a0
commit b1a9a231a7
5 changed files with 432 additions and 354 deletions
+1 -1
View File
@@ -58,4 +58,4 @@ export async function fetcher<T>(method: FetcherMethod, path: string, data?: any
export async function swrFetcher<T>(input: string | URL | globalThis.Request, init?: RequestInit) {
return fetcher<T>(init?.method as FetcherMethod, input.toString(), init?.body);
}
}