fix: Update sentCount on campaign sent for correct overview stats

This commit is contained in:
Dries Augustyns
2026-01-03 11:18:44 +01:00
parent 5d44b1606d
commit ee00eb3481
4 changed files with 67 additions and 2 deletions
+1
View File
@@ -564,6 +564,7 @@ export class CampaignService {
await prisma.campaign.update({
where: {id: campaignId},
data: {
sentCount: sentEmails,
deliveredCount: deliveredEmails,
openedCount: openedEmails,
clickedCount: clickedEmails,