From e71d71f8518b8451697fbf54a7f8adee5c0fe9d7 Mon Sep 17 00:00:00 2001 From: Eric Mc Sween <5454374+emcsween@users.noreply.github.com> Date: Wed, 15 Mar 2023 10:36:37 -0400 Subject: [PATCH] Merge pull request #12204 from overleaf/em-camel-case-contacts Camel case variables in contacts GitOrigin-RevId: 4d63987a02b9d4baa5f3071e8a366dfdac6678a2 --- services/contacts/app/js/HttpController.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/contacts/app/js/HttpController.js b/services/contacts/app/js/HttpController.js index be94292a50..27bbdbbb17 100644 --- a/services/contacts/app/js/HttpController.js +++ b/services/contacts/app/js/HttpController.js @@ -13,7 +13,7 @@ export function addContact(req, res, next) { return } - logger.debug({ user_id: userId, contact_id: contactId }, 'adding contact') + logger.debug({ userId, contactId }, 'adding contact') Promise.all([ ContactManager.touchContact(userId, contactId), @@ -34,7 +34,7 @@ export function getContacts(req, res, next) { const contactLimit = limit == null ? CONTACT_LIMIT : Math.min(parseInt(limit, 10), CONTACT_LIMIT) - logger.debug({ user_id: userId }, 'getting contacts') + logger.debug({ userId }, 'getting contacts') ContactManager.getContacts(userId) .then(contacts => {