mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-25 00:49:17 +09:00
kill any on utils:api
This commit is contained in:
parent
b683d79f8b
commit
37f6fda48f
@ -67,7 +67,7 @@ export const failedApiCall = async <T, E extends keyof misskey.Endpoints, P exte
|
||||
export const api = async <E extends keyof misskey.Endpoints>(path: E, params: misskey.Endpoints[E]['req'], me?: UserToken): Promise<{
|
||||
status: number,
|
||||
headers: Headers,
|
||||
body: any
|
||||
body: misskey.Endpoints[E]['res']
|
||||
}> => {
|
||||
const bodyAuth: Record<string, string> = {};
|
||||
const headers: Record<string, string> = {
|
||||
|
Loading…
Reference in New Issue
Block a user