From 9e65a494e51092f791e0f227aa39e279010c4410 Mon Sep 17 00:00:00 2001 From: emoralesms Date: Mon, 5 Jan 2026 16:59:37 -0300 Subject: [PATCH] chore: get only active campaings --- Doppler.ReportingApi/Infrastructure/CampaignRepository.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Doppler.ReportingApi/Infrastructure/CampaignRepository.cs b/Doppler.ReportingApi/Infrastructure/CampaignRepository.cs index c59300a..b56a021 100644 --- a/Doppler.ReportingApi/Infrastructure/CampaignRepository.cs +++ b/Doppler.ReportingApi/Infrastructure/CampaignRepository.cs @@ -65,6 +65,7 @@ AND C.[Status] IN (5,9,10) AND C.[UTCScheduleDate] BETWEEN @startDate AND @endDate AND C.[IdTestCampaign] IS NULL AND C.[IdScheduledTask] IS NULL + AND C.Active = 1 UNION ALL SELECT S.[IdUser]