mirror of
https://github.com/Readarr/Readarr
synced 2025-12-27 18:54:54 +01:00
New: Add FileId to History data for import events
(cherry picked from commit 952a7248c962908fc5da92762507421923a06e17) Closes #788
This commit is contained in:
parent
db6712f030
commit
333d344c0b
1 changed files with 1 additions and 2 deletions
|
|
@ -230,8 +230,7 @@ public void Handle(TrackImportedEvent message)
|
|||
DownloadId = downloadId
|
||||
};
|
||||
|
||||
//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("FileId", message.ImportedBook.Id.ToString());
|
||||
history.Data.Add("DroppedPath", message.BookInfo.Path);
|
||||
history.Data.Add("ImportedPath", message.ImportedBook.Path);
|
||||
history.Data.Add("DownloadClient", message.DownloadClientInfo?.Type);
|
||||
|
|
|
|||
Loading…
Reference in a new issue