mirror of
https://github.com/misskey-dev/misskey.git
synced 2025-01-25 05:45:12 +01:00
kill any on utils:api
This commit is contained in:
parent
b683d79f8b
commit
37f6fda48f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue