Skip to content

Commit

Permalink
Merge pull request #318 from Salesforce-org-Impact-Labs/feature-issue317
Browse files Browse the repository at this point in the history
Removed space to match Flow.
  • Loading branch information
cidarm authored Jan 31, 2023
2 parents 65fcb57 + 623635b commit 6a681bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion force-app/main/default/classes/ClientMessageHelper.cls
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ public with sharing class ClientMessageHelper {
// create the email messages
for (Referral_Response__c refResp : referralResponses) {
string peferedChannel=referralMap.get(refResp.Referral__c).Preferred_Channel__c;
if(peferedChannel=='Email; SMS' || peferedChannel=='SMS; Email' ){
if(peferedChannel=='Email;SMS' || peferedChannel=='SMS; Email' ){
referralMap.get(refResp.Referral__c).Preferred_Channel__c='SMS';
messages.add(createEmail(referralMap, orgWideEmail, emailTemplateType, refResp, refResp.Referral__c));
referralMap.get(refResp.Referral__c).Preferred_Channel__c='Email';
Expand Down

0 comments on commit 6a681bb

Please sign in to comment.