diff options
| author | Bond-009 <bond.009@outlook.com> | 2021-07-30 09:49:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-30 09:49:40 +0200 |
| commit | 00c90cfb21b00fb23ec614d57f873e61cbad154f (patch) | |
| tree | f98a91ffccd434c465dd5ea036d173368b0f476d /Jellyfin.Server.Implementations/Activity/ActivityManager.cs | |
| parent | c07e83fdf87e61f30e4cca4e458113ac315918ae (diff) | |
| parent | 501de7b6dcbeeb124cc0a2a84f21be4ec19be8ec (diff) | |
Merge pull request #6354 from Bond-009/nullable4
Enable nullable in more files
Diffstat (limited to 'Jellyfin.Server.Implementations/Activity/ActivityManager.cs')
| -rw-r--r-- | Jellyfin.Server.Implementations/Activity/ActivityManager.cs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Jellyfin.Server.Implementations/Activity/ActivityManager.cs b/Jellyfin.Server.Implementations/Activity/ActivityManager.cs index 27360afb0..a3a2a8baf 100644 --- a/Jellyfin.Server.Implementations/Activity/ActivityManager.cs +++ b/Jellyfin.Server.Implementations/Activity/ActivityManager.cs @@ -86,15 +86,12 @@ namespace Jellyfin.Server.Implementations.Activity private static ActivityLogEntry ConvertToOldModel(ActivityLog entry) { - return new ActivityLogEntry + return new ActivityLogEntry(entry.Name, entry.Type, entry.UserId) { Id = entry.Id, - Name = entry.Name, Overview = entry.Overview, ShortOverview = entry.ShortOverview, - Type = entry.Type, ItemId = entry.ItemId, - UserId = entry.UserId, Date = entry.DateCreated, Severity = entry.LogSeverity }; |
