Browse Source

Add TODO for error handling

pull/33/head
Abheek Dhawan 3 years ago
parent
commit
554f40537a
Signed by: abheekd GPG Key ID: 7BE81B8C14475B67
  1. 1
      helpers/db.js

1
helpers/db.js

@ -22,6 +22,7 @@ module.exports = {
); );
} }
else { else {
// TODO: Error handling
const doc = await userScore.findOne({ const doc = await userScore.findOne({
authorID: authorId, authorID: authorId,
}); });

Loading…
Cancel
Save