Merge pull request #12219 from overleaf/em-camel-case-web

Camel case variables in web

GitOrigin-RevId: 28e61b759b27f71265f33ab64f588374dba610e0
This commit is contained in:
Eric Mc Sween
2023-03-21 09:21:57 -04:00
committed by Copybot
parent 1a38c8a617
commit 54957e5fcc
56 changed files with 685 additions and 742 deletions
@@ -1,5 +1,4 @@
/* eslint-disable
camelcase,
max-len,
*/
// TODO: This file was created by bulk-decaffeinate.
@@ -33,8 +32,8 @@ module.exports = {
},
deactivateProject(req, res) {
const { project_id } = req.params
return InactiveProjectManager.deactivateProject(project_id, function (err) {
const { project_id: projectId } = req.params
return InactiveProjectManager.deactivateProject(projectId, function (err) {
if (err != null) {
return res.sendStatus(500)
} else {