fix: image via props and remove songIllustration function for cover property

This commit is contained in:
GitBluub
2023-05-30 15:33:54 +09:00
committed by Clément Le Bihan
parent 25e3d99e22
commit 2434d5f5df
6 changed files with 9 additions and 16 deletions
-8
View File
@@ -228,14 +228,6 @@ export default class API {
return "11111";
}
/**
* Retrive a song's midi partition
* @param songId the id to find the song
*/
public static getSongIllustration(songId: number): string {
return `${baseAPIUrl}/song/${songId}/illustration`;
}
public static async getAllSongs(): Promise<Song[]> {
let songs = await API.fetch({
route: "/song",