mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix removed sdk function
This commit is contained in:
parent
7eb7418eab
commit
a022a07620
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ const SearchSuggestions: FunctionComponent<SearchSuggestionsProps> = ({ parentId
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (api && user?.Id) {
|
if (api && user?.Id) {
|
||||||
getItemsApi(api)
|
getItemsApi(api)
|
||||||
.getItemsByUserId({
|
.getItems({
|
||||||
userId: user.Id,
|
userId: user.Id,
|
||||||
sortBy: [ItemSortBy.IsFavoriteOrLiked, ItemSortBy.Random],
|
sortBy: [ItemSortBy.IsFavoriteOrLiked, ItemSortBy.Random],
|
||||||
includeItemTypes: [BaseItemKind.Movie, BaseItemKind.Series, BaseItemKind.MusicArtist],
|
includeItemTypes: [BaseItemKind.Movie, BaseItemKind.Series, BaseItemKind.MusicArtist],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue