mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fixing type in getItems.ts
Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
This commit is contained in:
parent
d5e9541010
commit
aede0fa8ca
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ function mergeResults(results: BaseItemDtoQueryResult[]) {
|
|||
export function getItems(apiClient: ApiClient, userId: string, options?: any):
|
||||
Promise<BaseItemDtoQueryResult> {
|
||||
if (options.Ids === undefined ||
|
||||
options.Ids.split(',').ength <= idsPerItemRequestLimit) {
|
||||
options.Ids.split(',').length <= idsPerItemRequestLimit) {
|
||||
return apiClient.getItems(apiClient.getCurrentUserId(), options);
|
||||
}
|
||||
const results = getItemsSplit(apiClient, userId, options);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue