Skip to content
This repository has been archived by the owner on Jan 2, 2022. It is now read-only.

Commit

Permalink
Merge pull request #34 from jcmnunes/release/v0.9.3
Browse files Browse the repository at this point in the history
Release/v0.9.3
  • Loading branch information
jcmnunes authored Mar 23, 2020
2 parents 534e7e8 + 68453a1 commit 92d6984
Show file tree
Hide file tree
Showing 8 changed files with 124 additions and 191 deletions.
73 changes: 42 additions & 31 deletions backend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions backend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "widy-backend",
"version": "0.9.2",
"version": "0.9.3",
"description": "Widy app backend",
"main": "build/index.js",
"repository": {
Expand Down Expand Up @@ -55,16 +55,16 @@
"@types/jsonwebtoken": "^8.3.8",
"@types/lodash": "^4.14.149",
"@types/mongoose": "^5.7.7",
"@types/node": "^13.9.2",
"@typescript-eslint/eslint-plugin": "^2.24.0",
"@typescript-eslint/parser": "^2.24.0",
"@types/node": "^13.9.3",
"@typescript-eslint/eslint-plugin": "^2.25.0",
"@typescript-eslint/parser": "^2.25.0",
"eslint": "^6.8.0",
"eslint-config-node": "^4.0.0",
"eslint-config-prettier": "^6.10.0",
"eslint-config-prettier": "^6.10.1",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-prettier": "^3.1.2",
"prettier": "^1.19.1",
"ts-node": "^8.7.0",
"prettier": "^2.0.1",
"ts-node": "^8.8.1",
"typescript": "^3.8.3"
}
}
1 change: 1 addition & 0 deletions backend/src/controllers/days/getDays.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export const getDays = async (req: Request, res: Response) => {
const page = req.query.page || 1;

const options = {
select: 'day',
page,
sort: { day: 'desc' },
limit: MAX_DAYS,
Expand Down
Loading

0 comments on commit 92d6984

Please # to comment.