diff --git a/generic_executor.py b/generic_executor.py index 1e7beb8..02ad1ee 100644 --- a/generic_executor.py +++ b/generic_executor.py @@ -57,7 +57,7 @@ def fetch_servers(user: UserRecord) -> tuple[HTTPStatus, str or list]: def account_create(user: UserRecord) -> tuple[HTTPStatus, str or None]: - if firebase_manager.user_field_exists(user.uid, 'port'): + if firebase_manager.user_field_exists(user.uid): return HTTPStatus.FORBIDDEN, "User already exists." try: file_manager.create_folder("users/" + user.uid)