aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Playlists
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2020-04-05 18:10:56 +0200
committerBond_009 <bond.009@outlook.com>2020-04-05 18:10:56 +0200
commit30ce346f343ca61f921ec7d6faf2f06311c04e71 (patch)
tree009b45907371f10fe4c3195708287f4b464df7dd /Emby.Server.Implementations/Playlists
parent29539174a3de47c151cc7c7fd192100e6fbe48d7 (diff)
Enable nullabe reference types for MediaBrowser.Model
Diffstat (limited to 'Emby.Server.Implementations/Playlists')
-rw-r--r--Emby.Server.Implementations/Playlists/PlaylistManager.cs5
1 files changed, 1 insertions, 4 deletions
diff --git a/Emby.Server.Implementations/Playlists/PlaylistManager.cs b/Emby.Server.Implementations/Playlists/PlaylistManager.cs
index 9b1510ac9..021bc47cd 100644
--- a/Emby.Server.Implementations/Playlists/PlaylistManager.cs
+++ b/Emby.Server.Implementations/Playlists/PlaylistManager.cs
@@ -153,10 +153,7 @@ namespace Emby.Server.Implementations.Playlists
});
}
- return new PlaylistCreationResult
- {
- Id = playlist.Id.ToString("N", CultureInfo.InvariantCulture)
- };
+ return new PlaylistCreationResult(playlist.Id.ToString("N", CultureInfo.InvariantCulture));
}
finally
{