mirror of
https://github.com/creyD/creyPY.git
synced 2026-04-12 19:30:30 +02:00
Adjusted files for isort & autopep
This commit is contained in:
committed by
github-actions[bot]
parent
b73c524e8d
commit
0af8f05edf
@@ -119,6 +119,7 @@ def create_user_invite(email: str, company_id: str) -> dict:
|
||||
raise HTTPException(re.status_code, re.json())
|
||||
return re.json()
|
||||
|
||||
|
||||
def delete_user_invite(user_id: str) -> None:
|
||||
re = requests.delete(
|
||||
f"https://{AUTH0_DOMAIN}/api/v2/users/{user_id}",
|
||||
@@ -128,6 +129,7 @@ def delete_user_invite(user_id: str) -> None:
|
||||
if re.status_code != 204:
|
||||
raise HTTPException(re.status_code, re.json())
|
||||
|
||||
|
||||
def password_change_mail(email: str) -> bool:
|
||||
re = requests.post(
|
||||
f"https://{AUTH0_DOMAIN}/dbconnections/change_password",
|
||||
|
||||
Reference in New Issue
Block a user