1
0
Fork 0
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:
Frédéric Guillot 2025-03-28 14:20:53 -07:00
parent c531be8780
commit c75e0ceea1
16 changed files with 33 additions and 52 deletions

View file

@ -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