Cleaned up Notifications a bit

This commit is contained in:
Mark McDowall 2013-05-19 19:43:22 -07:00
commit a153599d50
14 changed files with 23 additions and 62 deletions

View file

@ -24,6 +24,8 @@ namespace NzbDrone.Api.Commands
private CommandResource RunCommand(CommandResource resource)
{
_messageAggregator.PublishEvent(new EpisodeGrabbedEvent(new RemoteEpisode()));
var commandType =
_container.GetImplementations(typeof(ICommand))
.Single(c => c.Name.Replace("Command", "")