From ba4be8cbf52669b6d52e070ac5c55de7b2499734 Mon Sep 17 00:00:00 2001 From: Dragory <2606411+Dragory@users.noreply.github.com> Date: Sun, 13 Dec 2020 22:11:16 +0200 Subject: [PATCH] Type error fix --- backend/src/Queue.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/Queue.ts b/backend/src/Queue.ts index 0f0bb733..41192e0d 100644 --- a/backend/src/Queue.ts +++ b/backend/src/Queue.ts @@ -17,7 +17,7 @@ export class Queue { const promise = new Promise(resolve => { this.queue.push(async () => { await fn(); - resolve(); + resolve(undefined); }); if (!this.running) this.next();