mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 19:43:29 +01:00
chore(ApiRequest): remove mention of var (#6125)
Co-authored-by: Alan <you@example.comalanlichen1@gmail.com>
This commit is contained in:
@@ -6,7 +6,7 @@ const AbortController = require('abort-controller');
|
|||||||
const fetch = require('node-fetch');
|
const fetch = require('node-fetch');
|
||||||
const { UserAgent } = require('../util/Constants');
|
const { UserAgent } = require('../util/Constants');
|
||||||
|
|
||||||
if (https.Agent) var agent = new https.Agent({ keepAlive: true });
|
const agent = new https.Agent({ keepAlive: true });
|
||||||
|
|
||||||
class APIRequest {
|
class APIRequest {
|
||||||
constructor(rest, method, path, options) {
|
constructor(rest, method, path, options) {
|
||||||
|
|||||||
Reference in New Issue
Block a user