Revert "other providers"

This reverts commit 339dfe5e02.
This commit is contained in:
JzoNg
2024-11-01 11:59:38 +08:00
parent 930425b896
commit f2a5da918b
4 changed files with 71 additions and 4 deletions

View File

@ -257,6 +257,10 @@ export const fetchFileUploadConfig: Fetcher<FileUploadConfigResponse, { url: str
return get<FileUploadConfigResponse>(url)
}
export const fetchFreeQuotaVerify: Fetcher<{ result: string; flag: boolean; reason: string }, string> = (url) => {
return get(url) as Promise<{ result: string; flag: boolean; reason: string }>
}
export const fetchNotionConnection: Fetcher<{ data: string }, string> = (url) => {
return get(url) as Promise<{ data: string }>
}