wiredup db logging.

This commit is contained in:
kay.one
2013-05-20 20:20:29 -07:00
parent 1016edb05b
commit af4063c3e2
6 changed files with 31 additions and 6 deletions

View File

@@ -29,9 +29,7 @@ namespace NzbDrone.Api.Commands
.Single(c => c.Name.Replace("Command", "")
.Equals(resource.Command, StringComparison.InvariantCultureIgnoreCase));
var command = Request.Body.FromJson<ICommand>(commandType);
dynamic command = Request.Body.FromJson(commandType);
_messageAggregator.PublishCommand(command);
return resource;