mirror of
https://github.com/miniflux/v2.git
synced 2025-09-15 18:57:04 +00:00
Add enclosures to /v1/entries API endpoint
This commit is contained in:
parent
fccc25f7a3
commit
6dd090a848
3 changed files with 31 additions and 11 deletions
|
@ -43,6 +43,10 @@ func NewEntry() *Entry {
|
|||
return &Entry{
|
||||
Enclosures: make(EnclosureList, 0),
|
||||
Tags: make([]string, 0),
|
||||
Feed: &Feed{
|
||||
Category: &Category{},
|
||||
Icon: &FeedIcon{},
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue