playlist websockets

This commit is contained in:
raiper34
2024-07-13 14:42:22 +02:00
parent 2f0e4626f8
commit 80a562c5cd
5 changed files with 25 additions and 18 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ export class TrackService {
async update(id: number, track: TrackEntity): Promise<void> {
await this.repository.update(id, track);
this.io.emit('track', track);
this.io.emit('trackUpdate', track);
}
@Interval(1000)