mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-27 02:51:57 +02:00
Merge pull request #12204 from overleaf/em-camel-case-contacts
Camel case variables in contacts GitOrigin-RevId: 4d63987a02b9d4baa5f3071e8a366dfdac6678a2
This commit is contained in:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user