fix mssing return in customer.IsComplete

This commit is contained in:
Florian Schlegel 2020-07-22 15:05:47 +02:00
parent ed667a49ef
commit f900b01140

View File

@ -11,7 +11,7 @@ import (
func (customer *Customer) IsComplete() error {
addr, err := customer.GetDefaultBillingAddress()
if err != nil {
fmt.Errorf("could not load default billing address: %q", err)
return fmt.Errorf("could not load default billing address: %q", err)
}
var mErr *multierror.Error