diff options
Diffstat (limited to 'customer/hooks.go')
| -rw-r--r-- | customer/hooks.go | 5 | 
1 files changed, 0 insertions, 5 deletions
diff --git a/customer/hooks.go b/customer/hooks.go index 020e1c5..ac246f3 100644 --- a/customer/hooks.go +++ b/customer/hooks.go @@ -30,11 +30,6 @@ func (c *Customer) BeforeSave(tx *gorm.DB) error {  		return err  	} -	err = c.Contact.validate() -	if err != nil { -		return err -	} -  	return nil  }  |