1
0
Fork 0
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:
gnattu 2024-09-22 05:04:19 +08:00
parent e4c20df5ae
commit fc9485c49d

View file

@ -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;