Skip to content
This repository has been archived by the owner on Sep 15, 2024. It is now read-only.

Commit

Permalink
chore: remove unnecessary console.logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Dwigoric committed Nov 29, 2023
1 parent fade9b7 commit 4c83f21
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions src/routes/deposits.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,6 @@ router.put('/user/:username', async (req, res, next) => {

const submissionDate = Date.now()

console.log(req.body.category)

const allSettings = await DepositSettings.findOne().lean()
if (!allSettings[req.body.category]) {
return res.status(400).json({
Expand Down
4 changes: 1 addition & 3 deletions src/routes/loans.js
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,6 @@ router.post('/:loanID/review', async (req, res, next) => {

parseDecimal(settings)

console.log(existingLoan.loanType)

if (!settings[existingLoan.loanType]) {
return res.status(400).json({
message: 'No loan settings exist for the current loan type',
Expand Down Expand Up @@ -475,7 +473,7 @@ router.patch('/:loanID', async (req, res, next) => {
* the deleted loan will still be visible in the database
*
* Request body must be a JSON object containing the fields specified in the `parameters` section.
*
*
* @name delete/:loanID
* @function
* @memberof module:routes/loans~router-loans
Expand Down

0 comments on commit 4c83f21

Please sign in to comment.