docs(ApplicationsAPI): Fix getCurrent() options description (#9816)

docs(ApplicationsAPI): fix `getCurrent()` options description
This commit is contained in:
Jiralite
2023-08-31 19:21:52 +01:00
committed by GitHub
parent 7157748fe3
commit 23a6424261

View File

@@ -10,7 +10,7 @@ export class ApplicationsAPI {
* Fetches the application associated with the requesting bot user.
*
* @see {@link https://discord.com/developers/docs/resources/application#get-current-application}
* @param options - The options for editing the application
* @param options - The options for fetching the application
*/
public async getCurrent({ signal }: Pick<RequestData, 'signal'> = {}) {
return this.rest.get(Routes.currentApplication(), { signal }) as Promise<RESTGetCurrentApplicationResult>;