Skip to content

Commit

Permalink
Fix order of data returned by history_statistics endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
jamezrin committed Nov 23, 2021
1 parent 9a2b14c commit e389ef1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/backend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@timeit/backend",
"version": "2.0.0",
"version": "2.0.1",
"description": "Express backend for timeit",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion apps/backend/src/routes/controller/data-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ const dataController = {
interval '1 day'
)) AS period_date
) AS period_date_series
ORDER BY period_date DESC;
ORDER BY period_date ASC;
`,
[startDate, endDate, projectId, memberId],
);
Expand Down

0 comments on commit e389ef1

Please sign in to comment.