Skip to content

Commit

Permalink
Chore: delete existing account check
Browse files Browse the repository at this point in the history
  • Loading branch information
erfjab authored Oct 25, 2024
1 parent 690cdbe commit e5dd1b7
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions import/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e5dd1b7

Please sign in to comment.