From 919af7b9674a134b6c547210acf136c5dc118c37 Mon Sep 17 00:00:00 2001 From: tamaina Date: Sun, 21 May 2023 15:01:06 +0000 Subject: [PATCH] ??? --- packages/misskey-js/src/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/misskey-js/src/api.ts b/packages/misskey-js/src/api.ts index 2d3d5101c..090f32863 100644 --- a/packages/misskey-js/src/api.ts +++ b/packages/misskey-js/src/api.ts @@ -43,7 +43,7 @@ export class APIClient { } public request, M extends IEndpointMeta = Endpoints[E], R = ResponseOf>( - endpoint: E, params?: P, credential?: string | null | undefined, + endpoint: E, params: P, credential?: string | null | undefined, ): Promise { const promise = new Promise((resolve, reject) => {