From 0bcfbedfd20ee552190df0fa08d34414486fcc7e Mon Sep 17 00:00:00 2001 From: Taha Yassine Kraiem Date: Tue, 28 Jun 2022 20:32:23 +0200 Subject: [PATCH] feat(api): api-v1 fixed search live sessions --- ee/api/routers/subs/v1_api_ee.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ee/api/routers/subs/v1_api_ee.py b/ee/api/routers/subs/v1_api_ee.py index 05f732974..b402cc051 100644 --- a/ee/api/routers/subs/v1_api_ee.py +++ b/ee/api/routers/subs/v1_api_ee.py @@ -25,7 +25,7 @@ def get_sessions_live(projectKey: str, userId: str = None, context: schemas.Curr @app_apikey.post('/v1/{projectKey}/assist/sessions', tags=["api"]) -def sessions_live(projectKey: int, data: schemas.LiveSessionsSearchPayloadSchema = Body(...), +def sessions_live(projectKey: str, data: schemas.LiveSessionsSearchPayloadSchema = Body(...), context: schemas.CurrentContext = Depends(OR_context)): return core.sessions_live(projectId=projects.get_internal_project_id(projectKey), data=data, context=context)