diff --git a/apps/api/src/campaign-application/campaign-application.service.spec.ts b/apps/api/src/campaign-application/campaign-application.service.spec.ts index 09cbdda2..b9d40911 100644 --- a/apps/api/src/campaign-application/campaign-application.service.spec.ts +++ b/apps/api/src/campaign-application/campaign-application.service.spec.ts @@ -192,14 +192,14 @@ describe('CampaignApplicationService', () => { const emailAdminData = { campaignApplicationName: mockSingleCampaignApplication.campaignName, - campaignApplicationLink: `${process.env.APP_URL}/admin/campaigns/${mockSingleCampaignApplication.id}`, + campaignApplicationLink: `${process.env.APP_URL}/admin/campaigns/edit/${mockSingleCampaignApplication.id}`, email: mockPerson.email as string, firstName: mockPerson.firstName, } const emailOrganizerData = { campaignApplicationName: mockSingleCampaignApplication.campaignName, - campaignApplicationLink: `${process.env.APP_URL}/campaign/applications/${mockSingleCampaignApplication.id}`, + campaignApplicationLink: `${process.env.APP_URL}/campaigns/application/${mockSingleCampaignApplication.id}`, email: mockPerson.email as string, firstName: mockPerson.firstName, } diff --git a/apps/api/src/campaign-application/campaign-application.service.ts b/apps/api/src/campaign-application/campaign-application.service.ts index 777ce690..1fcd566b 100644 --- a/apps/api/src/campaign-application/campaign-application.service.ts +++ b/apps/api/src/campaign-application/campaign-application.service.ts @@ -110,7 +110,7 @@ export class CampaignApplicationService { campaignApplicationName, campaignApplicationLink: `${this.configService.get( 'APP_URL', - )}/admin/campaigns/${campaignApplicationId}`, + )}/admin/campaigns/edit/${campaignApplicationId}`, email: person.email as string, firstName: person.firstName, } @@ -119,7 +119,7 @@ export class CampaignApplicationService { campaignApplicationName, campaignApplicationLink: `${this.configService.get( 'APP_URL', - )}/campaign/applications/${campaignApplicationId}`, + )}/campaigns/application/${campaignApplicationId}`, email: person.email as string, firstName: person.firstName, }