mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 04:23:31 +01: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:
@@ -1,6 +1,5 @@
|
|||||||
/* eslint-disable jsdoc/check-param-names */
|
/* eslint-disable jsdoc/check-param-names */
|
||||||
|
|
||||||
import { URL } from 'node:url';
|
|
||||||
import { type RequestData, type REST, makeURLSearchParams } from '@discordjs/rest';
|
import { type RequestData, type REST, makeURLSearchParams } from '@discordjs/rest';
|
||||||
import {
|
import {
|
||||||
Routes,
|
Routes,
|
||||||
|
|||||||
Reference in New Issue
Block a user