Fixed issue when LastLoginDate or LastActivityDate were null
This commit is contained in:
parent
46a0a2a601
commit
fefb282137
|
@ -116,8 +116,8 @@ namespace Jellyfin.Server.Migrations.Routines
|
||||||
SubtitleLanguagePreference = config.SubtitleLanguagePreference,
|
SubtitleLanguagePreference = config.SubtitleLanguagePreference,
|
||||||
Password = mockup.Password,
|
Password = mockup.Password,
|
||||||
EasyPassword = mockup.EasyPassword,
|
EasyPassword = mockup.EasyPassword,
|
||||||
LastLoginDate = mockup.LastLoginDate ?? DateTime.MinValue,
|
LastLoginDate = mockup.LastLoginDate,
|
||||||
LastActivityDate = mockup.LastActivityDate ?? DateTime.MinValue
|
LastActivityDate = mockup.LastActivityDate
|
||||||
};
|
};
|
||||||
|
|
||||||
if (mockup.ImageInfos.Length > 0)
|
if (mockup.ImageInfos.Length > 0)
|
||||||
|
@ -196,9 +196,9 @@ namespace Jellyfin.Server.Migrations.Routines
|
||||||
|
|
||||||
public string EasyPassword { get; set; }
|
public string EasyPassword { get; set; }
|
||||||
|
|
||||||
public DateTime? LastLoginDate { get; set; }
|
public DateTime LastLoginDate { get; set; }
|
||||||
|
|
||||||
public DateTime? LastActivityDate { get; set; }
|
public DateTime LastActivityDate { get; set; }
|
||||||
|
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user