Browse Source

fix: stations & songs module wouldn't initialize sometimes

Kristian Vos 4 years ago
parent
commit
02c8ec4cea
1 changed files with 1 additions and 0 deletions
  1. 1 0
      backend/logic/actions/utils.js

+ 1 - 0
backend/logic/actions/utils.js

@@ -65,6 +65,7 @@ module.exports = {
                 },
             ],
             async (err, module) => {
+                const jobsInQueue = module.jobQueue._tasks.heap.map((task) => {
                     return task.data;
                 });