Typescript is hard!

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

View File

@ -50,7 +50,7 @@ function parseMessage(message) {
case 'GetOtherPlaylists':
return new messageTypes_1.GetOtherPlaylists();
case 'OthersPlaylists':
return new messageTypes_1.OthersPlaylists(data.playlist);
return new messageTypes_1.OthersPlaylists(data.playlists);
case 'ToggleTag':
return new messageTypes_1.ToggleTag(data.song, data.tag);
case 'Shuffle':