pretty, lint, type check

This commit is contained in:
danis
2023-12-01 15:22:45 +01:00
parent 7167b49edc
commit 183dee193c
5 changed files with 96 additions and 92 deletions
+4 -5
View File
@@ -384,7 +384,6 @@ export default class API {
};
}
public static getGenres(): Query<Genre[]> {
return {
key: ['genres'],
@@ -395,7 +394,7 @@ export default class API {
},
{ handler: PlageHandler(GenreHandler) }
).then(({ data }) => data),
}
};
}
/**
@@ -434,14 +433,14 @@ export default class API {
public static getArtists(): Query<Artist[]> {
return {
key: ['artists'],
exec: () =>
exec: () =>
API.fetch(
{
route: `/artist`,
},
{ handler: PlageHandler(ArtistHandler) }
).then(({ data }) => data)
}
).then(({ data }) => data),
};
}
/**