Rename ErrCampaignNoSourcesSelected to ErrCampaignMissingSources
The failure is about unconfigured campaign sources, not an empty UI selection. Signed-off-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Bryan FRIMIN <bryan@frimin.fr>
This commit is contained in:
@@ -429,7 +429,7 @@ func (s *Service) StartCampaign(
|
||||
}
|
||||
|
||||
if len(campaignSources) == 0 {
|
||||
return ErrCampaignNoSourcesSelected
|
||||
return ErrCampaignMissingSources
|
||||
}
|
||||
|
||||
now := time.Now()
|
||||
|
||||
Reference in New Issue
Block a user