mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-12-02 02:37:26 +00:00
???
This commit is contained in:
parent
359f0b21b0
commit
919af7b967
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ export class APIClient {
|
|||
}
|
||||
|
||||
public request<E extends keyof Endpoints, P extends SchemaOrUndefined<D['defines'][number]['req']>, M extends IEndpointMeta = Endpoints[E], R = ResponseOf<M, P>>(
|
||||
endpoint: E, params?: P, credential?: string | null | undefined,
|
||||
endpoint: E, params: P, credential?: string | null | undefined,
|
||||
): Promise<R>
|
||||
{
|
||||
const promise = new Promise((resolve, reject) => {
|
||||
|
|
Loading…
Reference in a new issue