From ee5c0f9c2df9619e11ab7583afe41dfe1de491b7 Mon Sep 17 00:00:00 2001 From: Ayush Mukherjee Date: Mon, 28 Sep 2020 13:12:08 +0530 Subject: [PATCH] add express.json cus forgot :/ --- src/app.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app.js b/src/app.js index ef74fd8..d53040f 100644 --- a/src/app.js +++ b/src/app.js @@ -12,6 +12,7 @@ const app = express() app.use(morgan('dev')) app.use(helmet()) +app.use(express.json()) app.use(cors()) app.get('/', (req, res) => {