From 8ebc6356289aa3a3b929aa342eb42acb922ea90f Mon Sep 17 00:00:00 2001 From: Taha Yassine Kraiem Date: Mon, 14 Feb 2022 11:56:29 +0100 Subject: [PATCH] feat(chalice): funnels return new format --- api/routers/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/routers/core.py b/api/routers/core.py index df651362d..669294232 100644 --- a/api/routers/core.py +++ b/api/routers/core.py @@ -772,7 +772,7 @@ def get_funnel_issue_sessions(projectId: int, funnelId: int, issueId: str, @app.get('/{projectId}/funnels/{funnelId}', tags=["funnels"]) def get_funnel(projectId: int, funnelId: int, context: schemas.CurrentContext = Depends(OR_context)): - data = funnels.get(funnel_id=funnelId, project_id=projectId, user_id=context.user_id, flatten=False) + data = funnels.get(funnel_id=funnelId, project_id=projectId, user_id=context.user_id) if data is None: return {"errors": ["funnel not found"]} return {"data": data}