mirror of
https://github.com/miniflux/v2.git
synced 2025-08-01 17:38:37 +00:00
Add logger
This commit is contained in:
parent
c6d9eb3614
commit
1d8193b892
56 changed files with 228 additions and 192 deletions
|
@ -68,9 +68,9 @@ func (s *Storage) Integration(userID int64) (*model.Integration, error) {
|
|||
)
|
||||
switch {
|
||||
case err == sql.ErrNoRows:
|
||||
return nil, nil
|
||||
return &integration, nil
|
||||
case err != nil:
|
||||
return nil, fmt.Errorf("unable to fetch integration row: %v", err)
|
||||
return &integration, fmt.Errorf("unable to fetch integration row: %v", err)
|
||||
}
|
||||
|
||||
return &integration, nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue