Skip to content

Commit 5562069

Browse files
e7217gmlewis
andauthored
Update github/sub_issue.go
Co-authored-by: Glenn Lewis <6598971+gmlewis@users.noreply.github.com>
1 parent 7c48809 commit 5562069

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

github/sub_issue.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ type SubIssueListByIssueOptions struct {
3838

3939
// SubIssueRequest represents a request to add, remove, or reprioritize sub-issues.
4040
type SubIssueRequest struct {
41-
SubIssueID int `json:"sub_issue_id,omitempty"` // Required: The ID of the sub-issue
42-
AfterID int `json:"after_id,omitempty"` // Optional: Position after this sub-issue ID
43-
BeforeID int `json:"before_id,omitempty"` // Optional: Position before this sub-issue ID
44-
ReplaceParent bool `json:"replace_parent,omitempty"` // Optional: Whether to replace the existing parent
41+
SubIssueID int64 `json:"sub_issue_id"` // Required: The ID of the sub-issue
42+
AfterID *int64 `json:"after_id,omitempty"` // Optional: Position after this sub-issue ID
43+
BeforeID *int64 `json:"before_id,omitempty"` // Optional: Position before this sub-issue ID
44+
ReplaceParent *bool `json:"replace_parent,omitempty"` // Optional: Whether to replace the existing parent
4545
}
4646

4747
// Remove a sub-issue from the specified repository.

0 commit comments

Comments
 (0)