Archived
0
0
Fork 0

fix(api): queue being undefined

This commit is contained in:
Daryl Ronningen 2021-07-07 12:04:43 -05:00
parent 6b6fe2a286
commit 421160c0dc
Signed by: Daryl Ronningen
GPG key ID: FD23F0C934A5EC6B

View file

@ -31,7 +31,7 @@ export class ApiManager {
let queue = this.queues.get(`${hash}:${routeId.majorParameter}`);
if (queue === null) {
if (!queue) {
const apiHandler = new ApiHandler(this.client, this, this._token, hash, routeId.majorParameter);
this.queues.set(apiHandler.id, apiHandler);