Skip to content

Commit

Permalink
Merge pull request #35 from ringcentral/displayMessage
Browse files Browse the repository at this point in the history
Change displyed message for contact creation
  • Loading branch information
DaKingKong authored Jul 3, 2024
2 parents c82494b + ff9623b commit 0a90d4c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/adapters/netsuite/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -530,13 +530,16 @@ async function createContact({ user, authHeader, phoneNumber, newContactName, ne
}

}
const displayMessage = newContactType === 'contact'
? 'The new contact is created under a placeholder company, please click "View contact details" to check out'
: 'New Customer Created';
return {
contactInfo: {
id: contactId,
name: newContactName
},
returnMessage: {
message: `New contact created.`,
message: displayMessage,
messageType: 'success',
ttl: 5000
}
Expand Down

0 comments on commit 0a90d4c

Please sign in to comment.