From 21c1552daafbcedbd2e19b0c155ff8db9cff2be0 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Sat, 3 Jun 2023 13:58:57 +0200 Subject: [chore] Update versions, fix lint errors (#1860) --- internal/api/client/accounts/accountcreate.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'internal/api/client/accounts/accountcreate.go') diff --git a/internal/api/client/accounts/accountcreate.go b/internal/api/client/accounts/accountcreate.go index 6af3b41e5..5999c46c1 100644 --- a/internal/api/client/accounts/accountcreate.go +++ b/internal/api/client/accounts/accountcreate.go @@ -141,9 +141,5 @@ func validateCreateAccount(form *apimodel.AccountCreateRequest) error { return err } - if err := validate.SignUpReason(form.Reason, config.GetAccountsReasonRequired()); err != nil { - return err - } - - return nil + return validate.SignUpReason(form.Reason, config.GetAccountsReasonRequired()) } -- cgit v1.2.3