Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
Luupeli
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
luupeli
Luupeli
Merge requests
!122
Translations
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Translations
translations
into
staging
Overview
0
Commits
9
Pipelines
1
Changes
1
Merged
Mona-Lisa Kulmala
requested to merge
translations
into
staging
2 years ago
Overview
0
Commits
9
Pipelines
1
Changes
1
Expand
Vain tekstien muokkausta + navigaatiopalkin kielivalikon alignment.
saa mergetä -
0
0
Merge request reports
Viewing commit
97a7bb7e
Prev
Next
Show latest version
1 file
+
0
−
21
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
97a7bb7e
remove comments
· 97a7bb7e
Mona Kulmala
authored
2 years ago
server/controllers/question.js
+
0
−
21
Options
@@ -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
Loading