From e5dd1b7a405d5a195c4ef63eebaf5f7e93e3c73a Mon Sep 17 00:00:00 2001 From: Erfan <143827987+erfjab@users.noreply.github.com> Date: Fri, 25 Oct 2024 15:40:40 +0330 Subject: [PATCH] Chore: delete existing account check --- import/main.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/import/main.py b/import/main.py index 35e7c20..285248a 100644 --- a/import/main.py +++ b/import/main.py @@ -124,11 +124,6 @@ async def main(): try: - check_user = await api.get_user(user.username) - if check_user: - logger.error(f"User already exists: {user.username}") - continue - new_user = helpers.parse_marz_user(user, admin_service) logger.debug(f"Data for {user.username}: {new_user.dict()}") created_user = await api.create_user(new_user)