소스 검색

Small addition to last commit

Kristian Vos 4 년 전
부모
커밋
662d49d85d
1개의 변경된 파일7개의 추가작업 그리고 3개의 파일을 삭제
  1. 7 3
      backend/logic/stations.js

+ 7 - 3
backend/logic/stations.js

@@ -217,9 +217,13 @@ class _StationsModule extends CoreClass {
 					(station, next) => {
 						if (!station) return next("Station not found.");
 
-						NotificationsModule.runJob("UNSCHEDULE", {
-							name: `stations.nextSong?id=${station._id}`
-						})
+						NotificationsModule.runJob(
+							"UNSCHEDULE",
+							{
+								name: `stations.nextSong?id=${station._id}`
+							},
+							this
+						)
 							.then()
 							.catch()
 							.finally(() => {