chore: remove un-used function

This commit is contained in:
Derrick Hammer 2024-02-13 19:58:24 -05:00
parent 2d3b755cb2
commit f5bb0fa45f
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 0 additions and 7 deletions

View File

@ -294,10 +294,3 @@ func (s *AccountServiceDefault) exists(model interface{}, conditions map[string]
return exists, model, result.Error return exists, model, result.Error
} }
func validateName(firstName, lastName string) error {
if len(firstName) == 0 || len(lastName) == 0 {
return errors.New("first name and last name cannot be empty")
}
return nil
}