Backend: Remove debug log messages
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
parent
7fb04acd51
commit
bf7bb5006b
1 changed files with 0 additions and 4 deletions
|
@ -59,12 +59,8 @@ func AlbumCoverByUID(albumUID string) (file entity.File, err error) {
|
|||
if photos, _, err := PhotoSearch(f); err != nil {
|
||||
return file, err
|
||||
} else if len(photos) > 0 {
|
||||
log.Debugf("PHOTOS: %+v", photos)
|
||||
|
||||
for _, photo := range photos {
|
||||
log.Debugf("PHOTO: %+v", photo)
|
||||
if err := Db().Where("photo_uid = ? AND file_primary = 1", photo.PhotoUID).First(&file).Error; err != nil {
|
||||
log.Debugf("ERROR: %+v", err)
|
||||
return file, err
|
||||
} else {
|
||||
return file, nil
|
||||
|
|
Loading…
Reference in a new issue