fix: cycle analytics reponse. (#5480)

This commit is contained in:
Prateek Shourya
2024-09-02 15:12:32 +05:30
committed by GitHub
parent 10c253471c
commit 8526b801f4

View File

@@ -1186,8 +1186,8 @@ class CycleAnalyticsEndpoint(BaseAPIView):
estimate__type="points", estimate__type="points",
).exists() ).exists()
assignee_distribution = {} assignee_distribution = []
label_distribution = {} label_distribution = []
completion_chart = {} completion_chart = {}
if analytic_type == "points" and estimate_type: if analytic_type == "points" and estimate_type: