[chore] Update versions, fix lint errors (#1860)

This commit is contained in:
tobi
2023-06-03 13:58:57 +02:00
committed by GitHub
parent 1d4137fb88
commit 21c1552daa
12 changed files with 66 additions and 57 deletions

View File

@ -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())
}