Skip to content

Commit

Permalink
Removed space to match Flow.
Browse files Browse the repository at this point in the history
  • Loading branch information
cidarm committed Jan 31, 2023
1 parent 65fcb57 commit 623635b
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 623635b

Please sign in to comment.