fix: workflow avg user interaction. (#4056)

This commit is contained in:
Garfield Dai authored and GitHub committed 2024-05-02 20:24:40 +08:00
1 parent 93393e005e
commit 6f1e4a19a2
1 file changed
+1 -1
@@ -227,7 +227,7 @@ class WorkflowAverageAppInteractionStatistic(Resource):
{{start}}
{{end}}
GROUP BY date, c.created_by) sub
GROUP BY sub.created_by, sub.date
GROUP BY sub.date
"""
arg_dict = {'tz': account.timezone, 'app_id': app_model.id, 'triggered_from': WorkflowRunTriggeredFrom.APP_RUN.value}