The Free Software Media System - Server Backend & API
Merge pull request #11665 from Bond-009/getuserbyid
Cody Robibero8c3f3c503b4b
diff --cc Emby.Server.Implementations/TV/TVSeriesManager.csindex 34c9e86f26,d92d954a6e..d11b03a2e2--- a/Emby.Server.Implementations/TV/TVSeriesManager.cs+++ b/Emby.Server.Implementations/TV/TVSeriesManager.cs@@@ -83,15 -76,10 +76,10 @@@ namespace Emby.Server.Implementations.Tpublic QueryResult<BaseItem> GetNextUp(NextUpQuery request, BaseItem[] parentsFolders, DtoOptions options){- var user = _userManager.GetUserById(request.UserId);-- if (user is null)- {- throw new ArgumentException("User not found");- }+ var user = request.User;string? presentationUniqueKey = null;- int? limit = request.Limit;+ int? limit = null;if (!request.SeriesId.IsNullOrEmpty()){if (_libraryManager.GetItemById(request.SeriesId.Value) is Series series)