Added OthersPlaylists to the parseMessages

This commit is contained in:
Thomas Viesmose Birch 2024-05-04 16:19:16 +02:00
parent de19886518
commit 1f69d0e867

View File

@ -73,7 +73,7 @@ export default function parseMessage(message: string): StuenMessage | null {
case 'GetOtherPlaylists':
return new GetOtherPlaylists();
case 'OthersPlaylists':
return new OthersPlaylists(data.playlist);
return new OthersPlaylists(data.playlists);
case 'ToggleTag':
return new ToggleTag(data.song, data.tag);
case 'Shuffle':