Apply suggestions from code review

Co-authored-by: Cody Robibero <cody@robibe.ro>
pull/9466/head
Shadowghost 2 years ago committed by GitHub
parent eba24d188d
commit 9211a73e40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -530,6 +530,7 @@ namespace Emby.Server.Implementations.Playlists
_libraryManager.GetUserRootFolder().Children.OfType<Folder>().FirstOrDefault(i => string.Equals(i.GetType().Name, TypeName, StringComparison.Ordinal));
}
/// <inheritdoc />
public async Task RemovePlaylistsAsync(Guid userId)
{
var playlists = GetPlaylists(userId);
@ -564,6 +565,7 @@ namespace Emby.Server.Implementations.Playlists
}
}
/// <inheritdoc />
public async Task UpdatePlaylistAsync(Playlist playlist)
{
var currentPlaylist = (Playlist)_libraryManager.GetItemById(playlist.Id);

Loading…
Cancel
Save