Backend: Remove log in Photo.Create()
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
parent
f41bca0f20
commit
2c6552ff73
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue