Rename ErrCampaignNoScopeSources to ErrCampaignNoSourcesSelected
Align the sentinel name with the validation it represents. Signed-off-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Bryan FRIMIN <bryan@frimin.fr>
This commit is contained in:
@@ -428,7 +428,7 @@ func (s *Service) StartCampaign(
|
||||
}
|
||||
|
||||
if len(campaignSources) == 0 {
|
||||
return ErrCampaignNoScopeSources
|
||||
return ErrCampaignNoSourcesSelected
|
||||
}
|
||||
|
||||
now := time.Now()
|
||||
|
||||
Reference in New Issue
Block a user