mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-04-24 05:47:22 -04:00
New: Save categories to history for grabs
This commit is contained in:
parent
b472a022a6
commit
caaf50ed9c
1 changed files with 1 additions and 0 deletions
|
@ -203,6 +203,7 @@ namespace NzbDrone.Core.History
|
|||
history.Data.Add("Host", message.Host ?? string.Empty);
|
||||
history.Data.Add("GrabMethod", message.Redirect ? "Redirect" : "Proxy");
|
||||
history.Data.Add("GrabTitle", message.Title);
|
||||
history.Data.Add("Categories", string.Join(",", message.Release.Categories.Select(x => x.Id) ?? Array.Empty<int>()));
|
||||
history.Data.Add("Url", message.Url ?? string.Empty);
|
||||
|
||||
_historyRepository.Insert(history);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue