From aede0fa8caaeece2d44272e299ada75b1415a9c8 Mon Sep 17 00:00:00 2001 From: dann-merlin <55287004+dann-merlin@users.noreply.github.com> Date: Tue, 7 Mar 2023 23:49:40 +0000 Subject: [PATCH] Fixing type in getItems.ts Co-authored-by: Bill Thornton --- src/utils/jellyfin-apiclient/getItemsHelper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/jellyfin-apiclient/getItemsHelper.ts b/src/utils/jellyfin-apiclient/getItemsHelper.ts index 3eee2ff36f..bef989d349 100644 --- a/src/utils/jellyfin-apiclient/getItemsHelper.ts +++ b/src/utils/jellyfin-apiclient/getItemsHelper.ts @@ -54,7 +54,7 @@ function mergeResults(results: BaseItemDtoQueryResult[]) { export function getItems(apiClient: ApiClient, userId: string, options?: any): Promise { 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);