diff --git a/src/routes/deposits.js b/src/routes/deposits.js index 847c9eb..4aaf6ed 100644 --- a/src/routes/deposits.js +++ b/src/routes/deposits.js @@ -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({ diff --git a/src/routes/loans.js b/src/routes/loans.js index a0235a4..50f9c94 100644 --- a/src/routes/loans.js +++ b/src/routes/loans.js @@ -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', @@ -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