mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Remove more Promise.Resolve
This commit is contained in:
parent
e4c20df5ae
commit
fc9485c49d
1 changed files with 2 additions and 2 deletions
|
@ -417,9 +417,9 @@ async function getPlaybackInfo(player, apiClient, item, deviceProfile, mediaSour
|
|||
}
|
||||
|
||||
if (item.PresetMediaSource) {
|
||||
return Promise.resolve({
|
||||
return {
|
||||
MediaSources: [item.PresetMediaSource]
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
const itemId = item.Id;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue