Merge pull request #5319 from jellyfin/update-jf-sdk

This commit is contained in:
Bill Thornton
2024-03-26 12:12:23 -04:00
committed by GitHub
3 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ const SearchSuggestions: FunctionComponent<SearchSuggestionsProps> = ({ parentId
useEffect(() => {
if (api && user?.Id) {
getItemsApi(api)
.getItemsByUserId({
.getItems({
userId: user.Id,
sortBy: [ItemSortBy.IsFavoriteOrLiked, ItemSortBy.Random],
includeItemTypes: [BaseItemKind.Movie, BaseItemKind.Series, BaseItemKind.MusicArtist],