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
@@ -80,7 +80,7 @@ function updateSubscription(user, planCode, couponCode, callback) {
function (err, hasSubscription, subscription) {
if (err) {
logger.warn(
{ err, user_id: user._id, hasSubscription },
{ err, userId: user._id, hasSubscription },
'there was an error checking user v2 subscription'
)
}
@@ -183,7 +183,7 @@ function cancelSubscription(user, callback) {
function (err, hasSubscription, subscription) {
if (err) {
logger.warn(
{ err, user_id: user._id, hasSubscription },
{ err, userId: user._id, hasSubscription },
'there was an error checking user v2 subscription'
)
}
@@ -220,7 +220,7 @@ function reactivateSubscription(user, callback) {
function (err, hasSubscription, subscription) {
if (err) {
logger.warn(
{ err, user_id: user._id, hasSubscription },
{ err, userId: user._id, hasSubscription },
'there was an error checking user v2 subscription'
)
}