Skip to content

Commit

Permalink
refactor(oauth2): remove unnecessary dependency on 'node:url' (#10141)
Browse files Browse the repository at this point in the history
This change fixes a runtime error when using '@discordjs/core/http-only' on Cloudflare Workers.
  • Loading branch information
mattrubin authored Feb 21, 2024
1 parent c89c343 commit 906ade9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/core/src/api/oauth2.ts
Original file line number Diff line number Diff line change
@@ -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,
Expand Down

0 comments on commit 906ade9

Please sign in to comment.