Dev (#2547)
* 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 * refactor(chalice): refactored logout
This commit is contained in:
parent
687d12470a
commit
d274e08f43
2 changed files with 2 additions and 2 deletions
|
|
@ -99,7 +99,7 @@ def login_user(response: JSONResponse, data: schemas.UserLoginSchema = Body(...)
|
|||
def logout_user(response: Response, context: schemas.CurrentContext = Depends(OR_context)):
|
||||
users.logout(user_id=context.user_id)
|
||||
response.delete_cookie(key="refreshToken", path=COOKIE_PATH)
|
||||
response.delete_cookie(key="spotRefreshToken", path="/api/spot/refresh")
|
||||
response.delete_cookie(key="spotRefreshToken", path=spot.COOKIE_PATH)
|
||||
return {"data": "success"}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -103,7 +103,7 @@ def login_user(response: JSONResponse, data: schemas.UserLoginSchema = Body(...)
|
|||
def logout_user(response: Response, context: schemas.CurrentContext = Depends(OR_context)):
|
||||
users.logout(user_id=context.user_id)
|
||||
response.delete_cookie(key="refreshToken", path=COOKIE_PATH)
|
||||
response.delete_cookie(key="spotRefreshToken", path="/api/spot/refresh")
|
||||
response.delete_cookie(key="spotRefreshToken", path=spot.COOKIE_PATH)
|
||||
return {"data": "success"}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue