mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-23 07:41:25 +00:00
fix single entry rss feed
This commit is contained in:
@@ -151,7 +151,7 @@ func (e *Rss) Feed(ctx context.Context, req *pb.FeedRequest, rsp *pb.FeedRespons
|
|||||||
|
|
||||||
// if the need is not nil, then use one url
|
// if the need is not nil, then use one url
|
||||||
if feed != nil {
|
if feed != nil {
|
||||||
q = e.entriesURLIndex.ToQuery(feed.Url)
|
q = e.entriesURLIndex.ToQuery(feed.Feed)
|
||||||
}
|
}
|
||||||
|
|
||||||
q.Limit = req.Limit
|
q.Limit = req.Limit
|
||||||
|
|||||||
Reference in New Issue
Block a user