Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Commit 21632e0

Browse files
committed
Clean up types detritus.
1 parent d39c8fa commit 21632e0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

internal/campaigns/types.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1754,14 +1754,12 @@ type CampaignImportChangeset struct {
17541754
ExternalIDs []interface{} `json:"externalIDs"`
17551755
}
17561756

1757-
// FIXME: the Title and Published fields should be unmarshalled properly to
1758-
// handle the new oneOf types in the campaign spec schema.
17591757
type ChangesetTemplate struct {
17601758
Title override.String `json:"title"`
17611759
Body override.String `json:"body"`
17621760
Branch override.String `json:"branch"`
17631761
Commit CommitTemplate `json:"commit"`
1764-
Published interface{} `json:"published"`
1762+
Published override.Bool `json:"published"`
17651763
}
17661764

17671765
type CommitTemplate struct {

0 commit comments

Comments
 (0)