Api v1.15.0 (#1653)

* fix(chalice): fixed EE signup
This commit is contained in:
Kraiem Taha Yassine 2023-11-13 12:19:48 +01:00 committed by GitHub
parent abb71c51f7
commit 34a7a078be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -83,8 +83,9 @@ def create_tenant(data: schemas.UserSignupSchema):
with pg_client.PostgresClient() as cur:
cur.execute(cur.mogrify(query, params))
t = cur.fetchone()
telemetry.new_client(tenant_id=data["tenant_id"])
telemetry.new_client(tenant_id=t["tenant_id"])
r = users.authenticate(email, password)
r["smtp"] = smtp.has_smtp()