From f161ae62e16b65a3c553b27779401b82c8c8f5b7 Mon Sep 17 00:00:00 2001 From: Taha Yassine Kraiem Date: Mon, 7 Feb 2022 23:05:07 +0100 Subject: [PATCH] feat(api): funnels deflate filter-response --- 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 90978e948..142a5a95c 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) + data = funnels.get(funnel_id=funnelId, project_id=projectId, user_id=context.user_id, flatten=False) if data is None: return {"errors": ["funnel not found"]} return {"data": data}