fixed the getSong of the API.ts but modifications of the backend must be done

This commit is contained in:
Clément Le Bihan
2023-02-22 14:08:04 +01:00
parent 68f618ad64
commit 473672ac33
3 changed files with 48 additions and 40 deletions
+2
View File
@@ -1,5 +1,6 @@
import Metrics from "./Metrics";
import Model from "./Model";
import SongDetails from "./SongDetails";
interface Song extends Model {
name: string
@@ -8,6 +9,7 @@ interface Song extends Model {
genreId: number | null;
cover: string;
metrics: Metrics;
details: SongDetails;
}
export default Song;