mirror of
https://github.com/discordjs/discord.js.git
synced 2024-07-16 02:27:36 +12:00
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:
parent
c89c343b0a
commit
906ade9cc5
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue