Skip to content

Commit

Permalink
chore: remove method and route
Browse files Browse the repository at this point in the history
  • Loading branch information
caions committed Oct 4, 2023
1 parent 2998fcf commit 97e1f14
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
5 changes: 3 additions & 2 deletions habits-document.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"swagger": "2.0",
"info": {
"version": "1.1.3",
"version": "1.1.5",
"title": "Habit Tracker API",
"description": "Api to manage habits"
},
"host": "habit-tracker-backend.vercel.app",
"host": "localhost:8000",
"basePath": "/",
"schemes": [
"http",
"https"
],
"paths": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "habit-tracker-backend",
"version": "1.1.4",
"version": "1.1.5",
"description": "",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 0 additions & 2 deletions src/infra/web/middlewares/loggerMiddleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ export function loggerMiddleware(
const isDevelopoment = process.env.NODE_ENV === 'development';
if (!isDevelopoment) {
logger.info({
method: req.method.toUpperCase(),
route: req.url,
body: req.body,
query: req.query,
});
Expand Down

0 comments on commit 97e1f14

Please sign in to comment.