feat(api): wrap funnels response in data (#155)
This commit is contained in:
parent
6e01be8ebd
commit
8aa4e81297
1 changed files with 1 additions and 1 deletions
|
|
@ -822,7 +822,7 @@ def get_funnel(projectId, funnelId, context):
|
|||
project_id=projectId)
|
||||
if data is None:
|
||||
return {"errors": ["funnel not found"]}
|
||||
return data
|
||||
return {"data": data}
|
||||
|
||||
|
||||
@app.route('/{projectId}/funnels/{funnelId}', methods=['POST', 'PUT'])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue