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-22 09:05:04 +00:00
committed by Copybot
parent e4efe121da
commit 21971956b7
56 changed files with 685 additions and 742 deletions
@@ -185,7 +185,7 @@ module.exports = LaunchpadController = {
AuthenticationController.setRedirectInSession(req, '/launchpad')
logger.debug(
{ email, user_id: user._id, authMethod },
{ email, userId: user._id, authMethod },
'created first admin account'
)
@@ -244,7 +244,7 @@ module.exports = LaunchpadController = {
return next(err)
}
logger.debug({ user_id: user._id }, 'making user an admin')
logger.debug({ userId: user._id }, 'making user an admin')
User.updateOne(
{ _id: user._id },
{
@@ -262,7 +262,7 @@ module.exports = LaunchpadController = {
}
logger.debug(
{ email, user_id: user._id },
{ email, userId: user._id },
'created first admin account'
)
res.json({ redir: '/launchpad' })