diff --git a/validations.py b/validations.py index e26ae64..8b3bf1f 100644 --- a/validations.py +++ b/validations.py @@ -1,8 +1,8 @@ #!/usr/bin/env python3 -def vailidate_user(username, minlen): - """Checks if the recieved username matches the required conditions.""" +def validate_user(username, minlen): + """Checks if the received username matches the required conditions.""" if type(username) != str: raise TypeError("username must be a string") if minlen < 1: