Skip to content

Commit

Permalink
preregister bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsan-g committed Nov 15, 2023
1 parent 5f021b5 commit 804dad2
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/features/campaign/campaign.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,16 +131,10 @@ export class CampaignService {
CampaignNameEnum.CHILD_CONFIRMATION,
CampaignTypeEnum.EMAIL,
);
const campaign = this.getCampaignByCampaignCode(
const campaign = await this.getCampaignByCampaignCode(
campaignCode,
CampaignTypeEnum.EMAIL,
);
console.log(socialWorker.id);
console.log(email);
console.log(campaignCode);
console.log(campaign);



if (!campaign) {
const title = `${preChild.sayName.fa} تأیید شد`;
Expand Down

0 comments on commit 804dad2

Please sign in to comment.