mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 00:39:13 +00:00
feat(macros): add Description (#1863)
Add release.Description to macros
This commit is contained in:
parent
a6b463fb69
commit
ab718b8232
1 changed files with 2 additions and 0 deletions
|
@ -32,6 +32,7 @@ type Macro struct {
|
|||
CurrentMonth int
|
||||
CurrentSecond int
|
||||
CurrentYear int
|
||||
Description string
|
||||
DownloadUrl string
|
||||
Episode int
|
||||
FilterID int
|
||||
|
@ -103,6 +104,7 @@ func NewMacro(release Release) Macro {
|
|||
CurrentMonth: int(currentTime.Month()),
|
||||
CurrentSecond: currentTime.Second(),
|
||||
CurrentYear: currentTime.Year(),
|
||||
Description: release.Description,
|
||||
DownloadUrl: release.DownloadURL,
|
||||
Episode: release.Episode,
|
||||
FilterID: release.FilterID,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue