fix message display and now using the API to get the correct melody url

This commit is contained in:
Clément Le Bihan
2024-01-07 16:59:22 +01:00
parent ddc97f0923
commit c79ae7c6e8
3 changed files with 7 additions and 3 deletions
+4
View File
@@ -779,4 +779,8 @@ export default class API {
public static getPartitionSvgUrl(songId: number): string {
return `${API.baseUrl}/song/${songId}/assets/partition`;
}
public static getPartitionMelodyUrl(songId: number): string {
return `${API.baseUrl}/song/${songId}/assets/melody`;
}
}