mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Rename getItemsHelper.ts to getItems.ts
This commit is contained in:
parent
e693724055
commit
1a069b49be
5 changed files with 8 additions and 8 deletions
|
@ -4,7 +4,7 @@
|
|||
*/
|
||||
|
||||
import Events from '../../../utils/events.ts';
|
||||
import { getItems } from '../../../utils/jellyfin-apiclient/getItemsHelper.ts';
|
||||
import { getItems } from '../../../utils/jellyfin-apiclient/getItems.ts';
|
||||
|
||||
/**
|
||||
* Constants
|
||||
|
@ -89,7 +89,7 @@ export function getItemsForPlayback(apiClient, query) {
|
|||
query.EnableTotalRecordCount = false;
|
||||
query.CollapseBoxSetItems = false;
|
||||
|
||||
// call getItems from getItemsHelper instead of apiClient.getItems()
|
||||
// call getItems from jellyfin-apiclient/getItems.ts instead of apiClient.getItems()
|
||||
// to split up into multiple requests if necessary (URL might get too long)
|
||||
return getItems(apiClient, apiClient.getCurrentUserId(), query);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue