aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/invoice/hooks.go
diff options
context:
space:
mode:
Diffstat (limited to 'invoice/hooks.go')
-rw-r--r--invoice/hooks.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/invoice/hooks.go b/invoice/hooks.go
index b0ec877..68d730b 100644
--- a/invoice/hooks.go
+++ b/invoice/hooks.go
@@ -34,7 +34,7 @@ func (i *Invoice) BeforeSave(tx *gorm.DB) error {
}
func (i *Invoice) BeforeDelete(tx *gorm.DB) error {
- // if ID is 0, invoice won't be deleted
+ // if ID is 0, invoice won't be deleted
if i.ID == 0 {
return errors.ErrNoWhereCondition
}