Backend: Run "make fmt" #3566

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer 2023-07-25 19:15:09 +02:00
parent 1df12bd5c9
commit 6c1df15f34
2 changed files with 4 additions and 4 deletions

View file

@ -830,12 +830,12 @@ func (m *Album) RemovePhotos(UIDs []string) (removed PhotoAlbums) {
removed = append(removed, entry)
}
}
// Refresh updated timestamp.
if err := UpdateAlbum(m.AlbumUID, Values{"updated_at": TimePointer()}); err != nil {
log.Errorf("album: %s (update %s)", err.Error(), m)
}
}
return removed
}

View file

@ -194,7 +194,7 @@ func TestAddPhotoToAlbums(t *testing.T) {
"Expected the UpdatedAt field of an album to be updated when"+
" new photos are added",
)
},
},
)
t.Run("empty photo", func(t *testing.T) {