mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-18 21:34:28 -04:00
New: Add FileId to History data for import events
(cherry picked from commit 952a7248c962908fc5da92762507421923a06e17) Closes #788
This commit is contained in:
@@ -230,8 +230,7 @@ namespace NzbDrone.Core.History
|
|||||||
DownloadId = downloadId
|
DownloadId = downloadId
|
||||||
};
|
};
|
||||||
|
|
||||||
//Won't have a value since we publish this event before saving to DB.
|
history.Data.Add("FileId", message.ImportedBook.Id.ToString());
|
||||||
//history.Data.Add("FileId", message.ImportedEpisode.Id.ToString());
|
|
||||||
history.Data.Add("DroppedPath", message.BookInfo.Path);
|
history.Data.Add("DroppedPath", message.BookInfo.Path);
|
||||||
history.Data.Add("ImportedPath", message.ImportedBook.Path);
|
history.Data.Add("ImportedPath", message.ImportedBook.Path);
|
||||||
history.Data.Add("DownloadClient", message.DownloadClientInfo?.Type);
|
history.Data.Add("DownloadClient", message.DownloadClientInfo?.Type);
|
||||||
|
|||||||
Reference in New Issue
Block a user