Skip to content

Commit

Permalink
Remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-nebel committed Oct 25, 2023
1 parent 605451e commit ae0954f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/modules/apiRequests/setState/setState.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,6 @@ async function setState({ req, res }) {
updatedData
);

log.debug(finalData);

const data = generateMessage(0, finalData);

res.status(200).send(data);
Expand Down
2 changes: 2 additions & 0 deletions src/services/express/express.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,12 @@ app.use(express.json());
app.use(require("body-parser").urlencoded({ extended: false }));

app.use("/diplomas", express.static("diplomas"));
/*
app.use((req, res, next) => {
log.info(req?.query, req?.body, req?.path);
next();
});
*/

// API v.2
const apiRouter = express.Router();
Expand Down

0 comments on commit ae0954f

Please sign in to comment.