This commit is contained in:
Kendall Garner
2024-02-19 08:56:06 -08:00
parent 025124c379
commit af90d07414
3 changed files with 2 additions and 3 deletions
@@ -977,7 +977,7 @@ const getSimilarSongs = async (args: SimilarSongsArgs): Promise<Song[]> => {
});
if (res.status !== 200) {
throw new Error('Failed to get music folder list');
throw new Error('Failed to get similar songs');
}
return res.body.Items.map((song) => jfNormalize.song(song, apiClientProps.server, ''));
@@ -457,7 +457,7 @@ const getSimilarSongs = async (args: SimilarSongsArgs): Promise<Song[]> => {
});
if (res.status !== 200) {
throw new Error('Failed to get music folder list');
throw new Error('Failed to get similar songs');
}
return res.body.similarSongs.song.map((song) =>