diff --git a/internal/entity/photo.go b/internal/entity/photo.go index c68d485e7..318a03b14 100644 --- a/internal/entity/photo.go +++ b/internal/entity/photo.go @@ -58,7 +58,7 @@ type Photo struct { Place *Place `json:"-" yaml:"-"` Links []Link `gorm:"foreignkey:ShareUUID;association_foreignkey:PhotoUUID" yaml:"-"` Keywords []Keyword `json:"-" yaml:"-"` - Albums []Album `json:"-" yaml:"Albums,omitempty"` + Albums []Album `json:"-" yaml:"-"` Files []File `yaml:"-"` Labels []PhotoLabel `yaml:"-"` CreatedAt time.Time `yaml:"Created"`