mirror of
https://github.com/Readarr/Readarr
synced 2026-05-07 12:10:29 +02:00
Fixed: File change history appearing against wrong book
This commit is contained in:
parent
41f5f0f2d4
commit
f0742e3750
1 changed files with 3 additions and 3 deletions
|
|
@ -294,7 +294,7 @@ public void Handle(BookFileDeletedEvent message)
|
|||
Quality = message.BookFile.Quality,
|
||||
SourceTitle = message.BookFile.Path,
|
||||
AuthorId = message.BookFile.Author.Value.Id,
|
||||
BookId = message.BookFile.EditionId
|
||||
BookId = message.BookFile.Edition.Value.BookId
|
||||
};
|
||||
|
||||
history.Data.Add("Reason", message.Reason.ToString());
|
||||
|
|
@ -314,7 +314,7 @@ public void Handle(BookFileRenamedEvent message)
|
|||
Quality = message.BookFile.Quality,
|
||||
SourceTitle = message.OriginalPath,
|
||||
AuthorId = message.BookFile.Author.Value.Id,
|
||||
BookId = message.BookFile.EditionId
|
||||
BookId = message.BookFile.Edition.Value.BookId
|
||||
};
|
||||
|
||||
history.Data.Add("SourcePath", sourcePath);
|
||||
|
|
@ -334,7 +334,7 @@ public void Handle(BookFileRetaggedEvent message)
|
|||
Quality = message.BookFile.Quality,
|
||||
SourceTitle = path,
|
||||
AuthorId = message.BookFile.Author.Value.Id,
|
||||
BookId = message.BookFile.EditionId
|
||||
BookId = message.BookFile.Edition.Value.BookId
|
||||
};
|
||||
|
||||
history.Data.Add("TagsScrubbed", message.Scrubbed.ToString());
|
||||
|
|
|
|||
Loading…
Reference in a new issue