Fix Nullref on Collection delete

This commit is contained in:
Qstick 2022-07-12 19:20:46 -05:00 committed by GitHub
parent ced6586860
commit d5c524719b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ namespace Radarr.Api.V3.Collections
[NonAction]
public void Handle(CollectionDeletedEvent message)
{
BroadcastResourceChange(ModelAction.Deleted, MapToResource(message.Collection));
BroadcastResourceChange(ModelAction.Deleted, message.Collection.Id);
}
}
}