Skip to content

Commit ffbae38

Browse files
committed
Update huu environment var
1 parent f33c2a1 commit ffbae38

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

backend/app/modules/access/auth_controller.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ def signup(body: UserCreate,
7272
ClientMetadata={"url": settings.ROOT_URL},
7373
)
7474
except Exception as e:
75+
print(e)
7576
logging.error(f"Failed to create user: {e}")
7677
delete_user(db, user.id)
7778
raise HTTPException(status_code=400, detail="Failed to create user")

backend/tests/conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ def api_settings():
5656
os.environ["COGNITO_USER_POOL_ID"] = "testing"
5757
os.environ["ROOT_URL"] = "testing"
5858
os.environ["DATABASE_URL"] = "testing"
59+
os.environ["HUU_ENVIRONMENT"] = "testing"
5960
return get_settings()
6061

6162

0 commit comments

Comments
 (0)