mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +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 { UserAgent } = require('../util/Constants');
|
||||
|
||||
if (https.Agent) var agent = new https.Agent({ keepAlive: true });
|
||||
const agent = new https.Agent({ keepAlive: true });
|
||||
|
||||
class APIRequest {
|
||||
constructor(rest, method, path, options) {
|
||||
|
||||
Reference in New Issue
Block a user