mirror of
https://github.com/navidrome/navidrome.git
synced 2026-11-01 07:57:56 +01:00
Polishing
This commit is contained in:
parent
85882f6a40
commit
b25cfd96eb
8 changed files with 8 additions and 8 deletions
|
|
@ -42,7 +42,7 @@ func (b *browser) Indexes(ifModifiedSince time.Time) (domain.ArtistIndexes, time
|
|||
lastModified := utils.ToTime(ms)
|
||||
|
||||
if err != nil {
|
||||
return nil, time.Time{}, errors.New(fmt.Sprintf("Error retrieving LastScan property: %v", err))
|
||||
return nil, time.Time{}, errors.New(fmt.Sprintf("error retrieving LastScan property: %v", err))
|
||||
}
|
||||
|
||||
if lastModified.After(ifModifiedSince) {
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ type Entry struct {
|
|||
type Entries []Entry
|
||||
|
||||
var (
|
||||
ErrDataNotFound = errors.New("Data Not Found")
|
||||
ErrDataNotFound = errors.New("data not found")
|
||||
)
|
||||
|
||||
func FromAlbum(al *domain.Album) Entry {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue