chore(ApiRequest): remove mention of var (#6125)

Co-authored-by: Alan <you@example.comalanlichen1@gmail.com>
This commit is contained in:
Alan
2021-07-17 04:22:45 -07:00
committed by GitHub
parent 5ca97c9351
commit de384047b3

View File

@@ -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) {