diff options
| author | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2025-10-12 23:30:08 +0530 | 
|---|---|---|
| committer | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2025-10-12 23:30:08 +0530 | 
| commit | 327a32f563394f92313e4a751515d69d90f4e7f5 (patch) | |
| tree | 9b49fd41ac852fa459b623f7fbe7c79aaac24418 /invoice/validators.go | |
| parent | 029fe2c7a3532bc3bf435f257cdade240c8f3568 (diff) | |
formatted code
Diffstat (limited to 'invoice/validators.go')
| -rw-r--r-- | invoice/validators.go | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/invoice/validators.go b/invoice/validators.go index 1c39cbe..13cc6e6 100644 --- a/invoice/validators.go +++ b/invoice/validators.go @@ -50,7 +50,7 @@ func isDraft(invoiceId uint) (bool, error) {  	// TODO: handle potential errors  	if err != nil {  		return invoice.IsDraft, err -  } +	}  	// invoice doesn't exist  	if invoice.ID == 0 {  |