moveepisode is less side-effecty!

This commit is contained in:
kay.one 2013-08-29 23:39:41 -07:00
commit 954a79639f
6 changed files with 19 additions and 27 deletions

View file

@ -93,7 +93,8 @@ namespace NzbDrone.Core.History
EpisodeId = episode.Id
};
history.Data.Add("FileId", message.ImportedEpisode.Id.ToString());
//Won't have a value since we publish this event before saving to DB.
//history.Data.Add("FileId", message.ImportedEpisode.Id.ToString());
history.Data.Add("DroppedPath", message.DroppedEpisode.Path);
history.Data.Add("ImportedPath", message.ImportedEpisode.Path);