Skip to content

Commit c06693b

Browse files
Merge pull request #460 from topcoder-platform/develop
add logging
2 parents 4052417 + ccf6022 commit c06693b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/common/helper.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1185,6 +1185,14 @@ async function sendSelfServiceNotification (type, recipients, data) {
11851185
* @param {Object} request the request
11861186
*/
11871187
async function submitZendeskRequest (request) {
1188+
console.log('*************************')
1189+
console.log(JSON.stringify({
1190+
request: {
1191+
...request,
1192+
collaborators: [..._.map(config.SELF_SERVICE_EMAIL_CC_ACCOUNTS, 'email')]
1193+
}
1194+
}))
1195+
console.log('*************************')
11881196
try {
11891197
const res = await axios.post(`${ZENDESK_API_URL}/api/v2/requests`, {
11901198
request: {

0 commit comments

Comments
 (0)