don't pass song all the way down

This commit is contained in:
Kendall Garner 2024-02-19 09:55:37 -08:00
parent c947d09615
commit f81bea339b
No known key found for this signature in database
GPG key ID: 18D2767419676C87
6 changed files with 17 additions and 20 deletions

View file

@ -967,7 +967,7 @@ const getSimilarSongs = async (args: SimilarSongsArgs): Promise<Song[]> => {
const res = await jfApiClient(apiClientProps).getSimilarSongs({
params: {
itemId: query.song.id,
itemId: query.songId,
},
query: {
Fields: 'Genres, DateCreated, MediaSources, ParentId',

View file

@ -452,7 +452,7 @@ const getSimilarSongs = async (args: SimilarSongsArgs): Promise<Song[]> => {
const res = await ssApiClient(apiClientProps).getSimilarSongs({
query: {
count: query.count,
id: query.song.id,
id: query.songId,
},
});

View file

@ -1173,7 +1173,7 @@ export type StructuredLyric = {
export type SimilarSongsQuery = {
count?: number;
song: Song;
songId: string;
};
export type SimilarSongsArgs = {