Skip to content

Commit

Permalink
Merge pull request #66 from ringcentral/removeStartAndEnd
Browse files Browse the repository at this point in the history
Remove startTime , duration and endTime from notes
  • Loading branch information
DaKingKong authored Dec 10, 2024
2 parents a88a5c2 + 88482f9 commit 7495bdb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@
"url": "https://github.com/ringcentral/rc-unified-crm-extension/issues"
},
"homepage": "https://github.com/ringcentral/rc-unified-crm-extension#readme"
}
}
2 changes: 1 addition & 1 deletion src/adapters/netsuite/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ async function createCallLog({ user, contactInfo, authHeader, callLog, note, add
startTime: startTimeSLot,
endTime: endTimeSlot,
timedEvent: true,
message: `\nCall Start Time: ${formatedStartTime}\n Duration In Second: ${callLog.duration}Sec.\n Call End Time : ${formatedEndTime}\nContact Number: ${contactInfo.phoneNumber}\nNote: ${note}${callLog.recording ? `\nCall recording link ${callLog.recording.link}` : ''}\n\n--- Created via RingCentral CRM Extension`,
message: `Note: ${note}${callLog.recording ? `\nCall recording link ${callLog.recording.link}` : ''}\n\n--- Created via RingCentral CRM Extension`,
};
if (contactInfo.type?.toUpperCase() === 'CONTACT') {
const contactInfoRes = await axios.get(`https://${user.hostname.split(".")[0]}.suitetalk.api.netsuite.com/services/rest/record/v1/contact/${contactInfo.id}`, {
Expand Down

0 comments on commit 7495bdb

Please sign in to comment.