Backend: Remove log in Photo.Create()

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
Michael Mayer 2020-07-11 09:41:35 +02:00
parent f41bca0f20
commit 2c6552ff73

View file

@ -194,7 +194,6 @@ func (m *Photo) FirstOrCreate() error {
// Create inserts a new photo to the database.
func (m *Photo) Create() error {
if err := UnscopedDb().Create(m).Error; err != nil {
log.Errorf("photo: %s (create)", err)
return err
}