mirror of
https://github.com/miniflux/v2.git
synced 2025-07-22 17:18:37 +00:00
feat: combine feed icon handlers to use only externalIconID
This commit is contained in:
parent
c531be8780
commit
c75e0ceea1
16 changed files with 33 additions and 52 deletions
|
@ -59,7 +59,7 @@ func (s *Storage) IconByExternalID(externalIconID string) (*model.Icon, error) {
|
|||
if err == sql.ErrNoRows {
|
||||
return nil, nil
|
||||
} else if err != nil {
|
||||
return nil, fmt.Errorf("store: unable to fetch icon #%s: %w", externalIconID, err)
|
||||
return nil, fmt.Errorf("store: unable to fetch icon %s: %w", externalIconID, err)
|
||||
}
|
||||
|
||||
return &icon, nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue