Backend: Run "make fmt" #3566
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
parent
1df12bd5c9
commit
6c1df15f34
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue