refactor(oauth2): remove unnecessary dependency on 'node:url' (#10141)

This change fixes a runtime error when using '@discordjs/core/http-only' on Cloudflare Workers.
This commit is contained in:
Matt Rubin 2024-02-21 15:15:26 -05:00 committed by GitHub
parent c89c343b0a
commit 906ade9cc5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,5 @@
/* eslint-disable jsdoc/check-param-names */
import { URL } from 'node:url';
import { type RequestData, type REST, makeURLSearchParams } from '@discordjs/rest';
import {
Routes,