Front: Fix getSongHistory route call

This commit is contained in:
Arthur Jamet
2023-05-23 11:12:05 +01:00
committed by Zoe Roux
parent 47e0861d47
commit 028aed2e9a

View File

@@ -333,7 +333,7 @@ export default class API {
*/
public static async getSongHistory(songId: number): Promise<{best: number, history: SongHistory[]}> {
return API.fetch({
route: `/song${songId}/history`,
route: `/song/${songId}/history`,
});
}