Skip to content

Commit a9fa400

Browse files
remove logging and fix issue with zendesk
1 parent ccf6022 commit a9fa400

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/common/helper.js

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1185,16 +1185,8 @@ 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('*************************')
11961188
try {
1197-
const res = await axios.post(`${ZENDESK_API_URL}/api/v2/requests`, {
1189+
const res = await axios.post(`${config.ZENDESK_API_URL}/api/v2/requests`, {
11981190
request: {
11991191
...request,
12001192
collaborators: [..._.map(config.SELF_SERVICE_EMAIL_CC_ACCOUNTS, 'email')]

0 commit comments

Comments
 (0)