Skip to content

Commit

Permalink
fix(campaign): Show only the unarchive campaigns
Browse files Browse the repository at this point in the history
  • Loading branch information
Chadiii committed Aug 1, 2024
1 parent fb2d171 commit b81077e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/http_request/web_experimentation/campaign.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type CampaignWERequester struct {
}

func (t *CampaignWERequester) HTTPListCampaign() ([]models.CampaignWE, error) {
return common.HTTPGetAllPagesWE[models.CampaignWE](utils.GetWebExperimentationHost() + "/v1/accounts/" + t.AccountID + "/tests")
return common.HTTPGetAllPagesWE[models.CampaignWE](utils.GetWebExperimentationHost() + "/v1/accounts/" + t.AccountID + "/tests?state=play,pause,~unarchive&")
}

func (t *CampaignWERequester) HTTPCreateCampaign(data string) ([]byte, error) {
Expand Down

0 comments on commit b81077e

Please sign in to comment.