diff --git a/website/api/helpers/salesforce/update-or-create-contact-and-account.js b/website/api/helpers/salesforce/update-or-create-contact-and-account.js index 587bc0dfcda8..0a820c109a39 100644 --- a/website/api/helpers/salesforce/update-or-create-contact-and-account.js +++ b/website/api/helpers/salesforce/update-or-create-contact-and-account.js @@ -238,8 +238,8 @@ module.exports = { .create({ AccountId: salesforceAccountId, OwnerId: salesforceAccountOwnerId, - FirstName: firstName, - LastName: lastName, + FirstName: firstName ? firstName : '?', + LastName: lastName ? lastName : '?', ...valuesToSet, }); // console.log(`Created ${newContactRecord.id}`);