mirror of
https://github.com/wkulhanek/bonob.git
synced 2025-12-21 17:33:29 +01:00
First attempt at fixing search
This commit is contained in:
@@ -692,8 +692,8 @@ function bindSmapiSoapServiceToExpress(
|
|||||||
return musicLibrary.searchTracks(term).then((it) =>
|
return musicLibrary.searchTracks(term).then((it) =>
|
||||||
searchResult({
|
searchResult({
|
||||||
count: it.length,
|
count: it.length,
|
||||||
mediaCollection: it.map((aTrack) =>
|
mediaMetadata: it.map((aTrack) =>
|
||||||
album(urlWithToken(apiKey), aTrack.album)
|
track(urlWithToken(apiKey), aTrack)
|
||||||
),
|
),
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user