Skip to content

Commit

Permalink
Change displyed message for contact creation
Browse files Browse the repository at this point in the history
  • Loading branch information
SushilMallRC committed Jul 2, 2024
1 parent c82494b commit ff9623b
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 ff9623b

Please sign in to comment.