fixed the getSong of the API.ts but modifications of the backend must be done
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user