Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
trdecker committed Nov 12, 2023
1 parent 0eb1a32 commit 094b706
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions app.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import express from 'express'
import dotenv from 'dotenv'
import apiRoutes from './src/routes/apiRoutes.js'
import cors from 'cors'

dotenv.config()
const port = process.env.PORT ?? 80
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"dependencies": {
"@azure/cosmos": "^4.0.0",
"@azure/identity": "^3.3.2",
"cors": "^2.8.5",
"dotenv": "^16.3.1",
"express": "^4.18.2"
}
Expand Down
1 change: 1 addition & 0 deletions src/controllers/noteController.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const notesController = {
* @param {Object} res
*/
async getNotes(req, res) {
console.log('IN GET NOTES')
try {
const userId = req.query.userId ?? null
if (!userId) {
Expand Down

0 comments on commit 094b706

Please sign in to comment.