* fix(chalice): fixed Math-operators validation
refactor(chalice): search for sessions that have events for heatmaps

* refactor(chalice): search for sessions that have at least 1 location event for heatmaps

* fix(chalice): fixed Math-operators validation
refactor(chalice): search for sessions that have events for heatmaps

* refactor(chalice): search for sessions that have at least 1 location event for heatmaps

* feat(chalice): autocomplete return top 10 with stats

* fix(chalice): fixed autocomplete top 10 meta-filters

* fix(chalice): fixed change password for EE
This commit is contained in:
Kraiem Taha Yassine 2024-09-06 17:24:59 +02:00 committed by GitHub
parent 527cf46130
commit 687d12470a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 6 additions and 3 deletions

View file

@ -154,7 +154,8 @@ def change_client_password(resqponse: JSONResponse, data: schemas.EditUserPasswo
r = users.change_password(email=context.email, old_password=data.old_password.get_secret_value(),
new_password=data.new_password.get_secret_value(), tenant_id=context.tenant_id,
user_id=context.user_id)
r = __process_authentication_response(response=resqponse, data=r)
if "errors" not in r:
r = __process_authentication_response(response=resqponse, data=r)
return r

View file

@ -530,7 +530,8 @@ def change_password(tenant_id, user_id, email, old_password, new_password):
"refreshTokenMaxAge": r.pop("refreshTokenMaxAge"),
"spotJwt": r.pop("spotJwt"),
"spotRefreshToken": r.pop("spotRefreshToken"),
"spotRefreshTokenMaxAge": r.pop("spotRefreshTokenMaxAge")
"spotRefreshTokenMaxAge": r.pop("spotRefreshTokenMaxAge"),
"tenantId": tenant_id
}

View file

@ -159,7 +159,8 @@ def change_client_password(resqponse: JSONResponse, data: schemas.EditUserPasswo
r = users.change_password(email=context.email, old_password=data.old_password.get_secret_value(),
new_password=data.new_password.get_secret_value(), tenant_id=context.tenant_id,
user_id=context.user_id)
r = __process_authentication_response(response=resqponse, data=r)
if "errors" not in r:
r = __process_authentication_response(response=resqponse, data=r)
return r