mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 17:13:31 +01:00
chore: upgrade deps (#10824)
This commit is contained in:
@@ -27,6 +27,7 @@ export class OAuth2API {
|
||||
* @param options - The options for creating the authorization URL
|
||||
*/
|
||||
public generateAuthorizationURL(options: RESTOAuth2AuthorizationQuery) {
|
||||
// eslint-disable-next-line n/prefer-global/url
|
||||
const url = new URL(`${RouteBases.api}${Routes.oauth2Authorization()}`);
|
||||
url.search = makeURLSearchParams(options).toString();
|
||||
return url.toString();
|
||||
|
||||
@@ -141,7 +141,6 @@ export class WebhooksAPI {
|
||||
body,
|
||||
auth: false,
|
||||
signal,
|
||||
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type
|
||||
}) as Promise<RESTPostAPIWebhookWithTokenWaitResult | void>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user