diff --git a/src/modules/contacts/modules/emails/api/EmailsAPI.js b/src/modules/contacts/modules/emails/api/EmailsAPI.js index 67ad21a..4edb344 100644 --- a/src/modules/contacts/modules/emails/api/EmailsAPI.js +++ b/src/modules/contacts/modules/emails/api/EmailsAPI.js @@ -63,10 +63,12 @@ const getList = async (params) => { }; const get = async ({ itemId, parentId }) => { + const fields = ['email', 'primary', 'etag', 'type']; try { const response = await service.locateEmail( parentId, itemId, + fields, ); return applyTransform(response.data, [ snakeToCamel(), diff --git a/src/modules/contacts/modules/phones/api/PhonesAPI.js b/src/modules/contacts/modules/phones/api/PhonesAPI.js index f68bf0f..b00a2da 100644 --- a/src/modules/contacts/modules/phones/api/PhonesAPI.js +++ b/src/modules/contacts/modules/phones/api/PhonesAPI.js @@ -64,10 +64,12 @@ const getList = async (params) => { }; const get = async ({ itemId, parentId }) => { + const fields = ['number', 'primary', 'etag', 'type']; try { const response = await service.locatePhone( parentId, itemId, + fields, ); return applyTransform(response.data, [ snakeToCamel(),