mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
fixing update for vnext.
This commit is contained in:
parent
2001e5f502
commit
80c996c216
31 changed files with 279 additions and 175 deletions
|
@ -45,10 +45,7 @@ namespace NzbDrone.Core.Jobs
|
|||
{
|
||||
try
|
||||
{
|
||||
var commandType = Type.GetType(task.TypeName);
|
||||
var command = (ICommand)Activator.CreateInstance(commandType);
|
||||
|
||||
_messageAggregator.PublishCommand(command);
|
||||
_messageAggregator.PublishCommand(task.TypeName);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue