Commit 0d043bc9 authored by pooja.mulaguri's avatar pooja.mulaguri

Merge branch 'develop' of...

Merge branch 'develop' of https://gitlab-pm.knowledgelens.com/Harshavardhan.C/oee-services into develop
parents b0f8336d 51c833a7
...@@ -13,5 +13,5 @@ class ProjectAggregate: ...@@ -13,5 +13,5 @@ class ProjectAggregate:
}, },
}}, {'$replaceRoot': {'newRoot': {'$arrayToObject': '$data'}}}] }}, {'$replaceRoot': {'newRoot': {'$arrayToObject': '$data'}}}]
if project_id: if project_id:
query_json[0].update({'$match': {'customer_project_id': project_id}}) query_json.insert(0, {'$match': {'customer_project_id': project_id}})
return query_json return query_json
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment