mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 13:23:20 -07:00
Correct JellyfinUser to type 5
Make everything consistent here with the Store entity number.
This commit is contained in:
parent
fce9e88b1e
commit
85e98e587f
3 changed files with 3 additions and 4 deletions
|
@ -20,6 +20,6 @@ namespace Ombi.Core.Models
|
|||
LocalUser = 1,
|
||||
PlexUser = 2,
|
||||
EmbyUser = 3,
|
||||
JellyfinUser = 4
|
||||
JellyfinUser = 5
|
||||
}
|
||||
}
|
||||
|
|
|
@ -105,7 +105,7 @@ namespace Ombi.Schedule.Jobs.Jellyfin
|
|||
|
||||
if (!jellyfinUser.ConnectUserName.HasValue() && !jellyfinUser.Name.HasValue())
|
||||
{
|
||||
_log.LogInformation("Could not create Jellyfin user since the have no username, PlexUserId: {0}", jellyfinUser.Id);
|
||||
_log.LogInformation("Could not create Jellyfin user since the have no username, JellyfinUserId: {0}", jellyfinUser.Id);
|
||||
continue;
|
||||
}
|
||||
var isConnectUser = jellyfinUser.ConnectUserName.HasValue();
|
||||
|
@ -114,7 +114,6 @@ namespace Ombi.Schedule.Jobs.Jellyfin
|
|||
{
|
||||
UserName = jellyfinUser.Name,
|
||||
ProviderUserId = jellyfinUser.Id,
|
||||
Alias = isConnectUser ? jellyfinUser.Name : string.Empty,
|
||||
MovieRequestLimit = userManagementSettings.MovieRequestLimit,
|
||||
EpisodeRequestLimit = userManagementSettings.EpisodeRequestLimit
|
||||
};
|
||||
|
|
|
@ -48,7 +48,7 @@ export enum UserType {
|
|||
LocalUser = 1,
|
||||
PlexUser = 2,
|
||||
EmbyUser = 3,
|
||||
JellyfinUser = 4,
|
||||
JellyfinUser = 5,
|
||||
}
|
||||
|
||||
export interface IIdentityResult {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue