Skip to content

Commit

Permalink
Fix: Phone Call EndTime - NetSuite
Browse files Browse the repository at this point in the history
  • Loading branch information
SushilMallRC committed Jan 9, 2025
1 parent 13e2c69 commit f814322
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/adapters/netsuite/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ async function createCallLog({ user, contactInfo, authHeader, callLog, note, add
endTime: endTimeSlot,
timedEvent: true,
message: comments,
completedDate: callEndTime
};
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 f814322

Please sign in to comment.