fix(feeds): torznab newznab category parsing (#775)

This commit is contained in:
ze0s 2023-03-19 23:35:33 +01:00 committed by GitHub
parent 0d6e23f278
commit 81d494ec5c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 12 additions and 12 deletions

View file

@ -241,7 +241,7 @@ func (c *client) GetCaps() *Caps {
return c.Capabilities
}
func (c *client) Search(ctx context.Context, query string) ([]FeedItem, error) {
func (c *client) Search(ctx context.Context, query string) ([]*FeedItem, error) {
v := url.Values{}
v.Add("q", query)
params := v.Encode()