From 554f40537a4a581ac4ea1dd47d523bb52a7d42d3 Mon Sep 17 00:00:00 2001 From: Abheek Dhawan Date: Sun, 20 Mar 2022 20:53:42 -0500 Subject: [PATCH] Add TODO for error handling --- helpers/db.js | 1 + 1 file changed, 1 insertion(+) diff --git a/helpers/db.js b/helpers/db.js index a68e044..e999dd4 100644 --- a/helpers/db.js +++ b/helpers/db.js @@ -22,6 +22,7 @@ module.exports = { ); } else { + // TODO: Error handling const doc = await userScore.findOne({ authorID: authorId, });