Skip to content
Snippets Groups Projects
Commit 97a7bb7e authored by Mona Kulmala's avatar Mona Kulmala
Browse files

remove comments

parent 040cb37d
No related branches found
No related tags found
2 merge requests!123Merge Staging into Main,!122Translations
This commit is part of merge request !122. Comments created here will be created in the context of that merge request.
......@@ -29,25 +29,4 @@ router.put('/:id', async (req, res) => {
}
})
//router.put('/:id', async (req, res) => {
// const user = req.user
// if (user && user.admin) {
// const { id, number, text } = req.body
// const question = await Question.findByPk(id)
// if (question) {
// if (number === 1) {
// question.hint_1 = text
// } else {
// question.hint_2 = text
// }
// await question.save()
// res.json(question)
// } else {
// res.status(404).end()
// }
// } else {
// res.status(403).end()
// }
//})
module.exports = router
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment