This commit is contained in:
parent
4c3df8fef6
commit
64315356ae
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,7 @@ func generateStats(ctx context.Context) ([]ChartData, error) {
|
||||||
FROM tasks
|
FROM tasks
|
||||||
WHERE status = $1 OR status = $2
|
WHERE status = $1 OR status = $2
|
||||||
GROUP BY 1,2
|
GROUP BY 1,2
|
||||||
ORDER BY updated_at ;`, constants.TASK_STATUS_SUCCESS, constants.TASK_STATUS_FAILED)
|
ORDER BY date ;`, constants.TASK_STATUS_SUCCESS, constants.TASK_STATUS_FAILED)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("Query Task Status Day: %w", err)
|
return nil, fmt.Errorf("Query Task Status Day: %w", err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue