From df69e1eb5aa8b227b3dc1b4fb6c6478b71b1fb44 Mon Sep 17 00:00:00 2001 From: Matthew Haughton <3flex@users.noreply.github.com> Date: Sun, 10 Nov 2024 12:03:01 +1100 Subject: [PATCH] Remove unused getIntros function --- src/helpers.ts | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/helpers.ts b/src/helpers.ts index 392ed439..677d580b 100644 --- a/src/helpers.ts +++ b/src/helpers.ts @@ -594,21 +594,6 @@ export async function getEpisodesForPlayback( return response.data; } -/** - * Get intros for a given item. This item should be a video - * type for this to make sense - * @param firstItem - item to get intros for - * @returns intro items - */ -export function getIntros( - firstItem: BaseItemDto -): Promise { - return JellyfinApi.authAjaxUser(`Items/${firstItem.Id}/Intros`, { - dataType: 'json', - type: 'GET' - }); -} - /** * Get user object for the current user * @returns user object