Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ All notable changes to `src-cli` are documented in this file.

### Fixed

- Directly applying a batch change with `src batch apply` against Sourcegraph 3.25 or older would fail in 3.26.0. This has been fixed. [#495](https://github.com/sourcegraph/src-cli/issues/495)

### Removed

## 3.26.0
Expand Down
2 changes: 1 addition & 1 deletion internal/batches/graphql/campaigns.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func (cb *campaignsBackend) ApplyBatchChange(ctx context.Context, batchSpecID Ba
var result struct {
BatchChange *BatchChange `json:"applyCampaign"`
}
if ok, err := cb.newRequest(applyBatchChangeMutation, map[string]interface{}{
if ok, err := cb.newRequest(applyCampaignMutation, map[string]interface{}{
"campaignSpec": batchSpecID,
}).Do(ctx, &result); err != nil || !ok {
return nil, err
Expand Down