fix: workflow avg user interaction. (#4056)

This commit is contained in:
Garfield Dai
2024-05-02 20:24:40 +08:00
committed by GitHub
parent 93393e005e
commit 6f1e4a19a2

View File

@@ -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}