Skip to content

Commit

Permalink
deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Ladrillo committed Apr 14, 2021
1 parent 914bdec commit 1a479a5
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion api/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ server.use("/api/auth", authRouter);
server.use("/api/users", usersRouter);

server.use((err, req, res, next) => { // eslint-disable-line
res.status(500).json({
res.status(err.status || 500).json({
message: err.message,
stack: err.stack,
});
Expand Down
42 changes: 21 additions & 21 deletions package-lock.json

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"test": "cross-env NODE_ENV=testing jest --watch --verbose --runInBand"
},
"devDependencies": {
"@types/jest": "^26.0.21",
"@types/jest": "^26.0.22",
"cross-env": "^7.0.3",
"eslint": "^7.22.0",
"eslint": "^7.24.0",
"jest": "^26.6.3",
"jwt-decode": "^3.1.2",
"nodemon": "^2.0.7",
Expand All @@ -23,7 +23,7 @@
"cors": "^2.8.5",
"express": "^4.17.1",
"helmet": "^4.4.1",
"knex": "^0.95.2",
"knex": "^0.95.4",
"sqlite3": "^5.0.2"
},
"repository": {
Expand Down

0 comments on commit 1a479a5

Please sign in to comment.