Skip to content

Commit

Permalink
campaign frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsan-g committed Jan 31, 2024
1 parent 4e21d72 commit 92a6a84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/campaign/campaign.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export class CampaignService {
this.logger.log(`EMAIL: Campaign Created - ${campaignEmailCode}`);
}

if (emailCampaign && emailReceivers[0]) {
if (emailCampaign && emailReceivers && emailReceivers[0]) {
await this.updateCampaignUsers(
emailCampaign,
emailCampaign.receivers,
Expand Down

0 comments on commit 92a6a84

Please sign in to comment.