Kaynağa Gözat

Fixed small issue where unscheduling didn't work

Kristian Vos 4 yıl önce
ebeveyn
işleme
fa6d21dacd
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      backend/logic/stations.js

+ 1 - 1
backend/logic/stations.js

@@ -230,7 +230,7 @@ class StationsModule extends CoreClass {
                         if (!station) return next("Station not found.");
                         if (!station) return next("Station not found.");
                         this.notifications
                         this.notifications
                             .runJob("UNSCHEDULE", {
                             .runJob("UNSCHEDULE", {
-                                subscription: `stations.nextSong?id=${station._id}`,
+                                name: `stations.nextSong?id=${station._id}`,
                             })
                             })
                             .then()
                             .then()
                             .catch();
                             .catch();