Fixed: Collections not deleted on Movie Delete

This commit is contained in:
Qstick 2022-07-15 22:08:25 -05:00
parent cc306fcd36
commit c5fb5200de

View file

@ -122,7 +122,7 @@ public void HandleAsync(MoviesDeletedEvent message)
var collection = FindByTmdbId(collectionTmdbId);
_repo.Delete(collectionTmdbId);
_repo.Delete(collection.Id);
_eventAggregator.PublishEvent(new CollectionDeletedEvent(collection));
}