Merge pull request #1645 from Bond-009/fixusers

Fix UserNotFoundError
This commit is contained in:
dkanada 2019-08-19 01:58:24 -07:00 committed by GitHub
commit 5626709de5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -558,6 +558,7 @@ namespace Emby.Server.Implementations.Library
{ {
_users = new ConcurrentDictionary<Guid, User>( _users = new ConcurrentDictionary<Guid, User>(
users.Select(x => new KeyValuePair<Guid, User>(x.Id, x))); users.Select(x => new KeyValuePair<Guid, User>(x.Id, x)));
return;
} }
var defaultName = Environment.UserName; var defaultName = Environment.UserName;