From c5fb5200de7a1eb7c98397520c2fefed01636bc1 Mon Sep 17 00:00:00 2001 From: Qstick Date: Fri, 15 Jul 2022 22:08:25 -0500 Subject: [PATCH] Fixed: Collections not deleted on Movie Delete --- src/NzbDrone.Core/Movies/Collections/MovieCollectionService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/Movies/Collections/MovieCollectionService.cs b/src/NzbDrone.Core/Movies/Collections/MovieCollectionService.cs index 7a15f72e6..3b8ee368a 100644 --- a/src/NzbDrone.Core/Movies/Collections/MovieCollectionService.cs +++ b/src/NzbDrone.Core/Movies/Collections/MovieCollectionService.cs @@ -122,7 +122,7 @@ namespace NzbDrone.Core.Movies.Collections var collection = FindByTmdbId(collectionTmdbId); - _repo.Delete(collectionTmdbId); + _repo.Delete(collection.Id); _eventAggregator.PublishEvent(new CollectionDeletedEvent(collection)); }