From 53ed93945145e57f738dfd8316b88cdaf9a4f3c2 Mon Sep 17 00:00:00 2001 From: creyD <15138480+creyD@users.noreply.github.com> Date: Mon, 24 Feb 2025 17:27:48 +0000 Subject: [PATCH] Adjusted files for isort & autopep --- creyPY/services/auth0/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/creyPY/services/auth0/utils.py b/creyPY/services/auth0/utils.py index 73c9a13..2faa7c9 100644 --- a/creyPY/services/auth0/utils.py +++ b/creyPY/services/auth0/utils.py @@ -101,7 +101,7 @@ def request_verification_mail(sub: str) -> None: return re.json() -def create_user_invite(email: str, company_id:str) -> dict: +def create_user_invite(email: str, company_id: str) -> dict: re = requests.post( f"https://{AUTH0_DOMAIN}/api/v2/users", headers={"Authorization": f"Bearer {get_management_token()}"}, @@ -111,7 +111,7 @@ def create_user_invite(email: str, company_id:str) -> dict: "password": create_random_password(), "verify_email": False, "app_metadata": {"invitedToMyApp": True}, - "user_metadata":{"company_ids":[company_id]} + "user_metadata": {"company_ids": [company_id]}, }, timeout=5, )