diff options
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 {  |