1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

apply suggested changes from code review

This commit is contained in:
TheMelmacian 2023-09-12 11:07:27 +02:00
parent 2b547f5a53
commit 5d6756778b
3 changed files with 13 additions and 13 deletions

View file

@ -14,7 +14,7 @@ import alert from '../alert';
import { PluginType } from '../../types/plugin.ts';
import { includesAny } from '../../utils/container.ts';
import { getItems } from '../../utils/jellyfin-apiclient/getItems.ts';
import { getItemBackdropImageUrl } from '../../utils/jellyfin-apiclient/BackdropImage';
import { getItemBackdropImageUrl } from '../../utils/jellyfin-apiclient/backdropImage';
const UNLIMITED_ITEMS = -1;
@ -2672,7 +2672,7 @@ class PlaybackManager {
title: item.Name
};
const backdropUrl = getItemBackdropImageUrl(apiClient, item, true);
const backdropUrl = getItemBackdropImageUrl(apiClient, item, {}, true);
if (backdropUrl) {
resultInfo.backdropUrl = backdropUrl;
}