1
0
Fork 0
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:
Frédéric Guillot 2023-10-05 20:51:00 -07:00
parent fccc25f7a3
commit 6dd090a848
3 changed files with 31 additions and 11 deletions

View file

@ -43,6 +43,10 @@ func NewEntry() *Entry {
return &Entry{
Enclosures: make(EnclosureList, 0),
Tags: make([]string, 0),
Feed: &Feed{
Category: &Category{},
Icon: &FeedIcon{},
},
}
}