X Tutup
Skip to content

Commit f8a49ca

Browse files
committed
updated reference comment
1 parent 40a0b0d commit f8a49ca

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

api/queries_issue.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ type IssuesAndTotalCount struct {
2323
TotalCount int
2424
}
2525

26-
// Ref. https://docs.github.com/v4/object/issue
26+
// Ref. Please see Github GraphQL object issue reference page
2727
type Issue struct {
2828
ID string
2929
Number int

pkg/cmd/pr/view/view.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ func printHumanPrPreview(io *iostreams.IOStreams, pr *api.PullRequest) error {
191191
return nil
192192
}
193193

194-
// Ref. https://docs.github.com/v4/enum/pullrequestreviewstate/
194+
// Ref. Please see Github GraphQL PullRequestReviewState reference page
195195
const (
196196
requestedReviewState = "REQUESTED" // This is our own state for review request
197197
approvedReviewState = "APPROVED"
@@ -250,7 +250,7 @@ func prReviewerList(pr api.PullRequest) string {
250250
return reviewerList
251251
}
252252

253-
// Ref. https://docs.github.com/v4/enum/pullrequestreviewstate/
253+
// Ref. Please see Github GraphQL PullRequestReviewState reference page
254254
const teamTypeName = "Team"
255255

256256
const ghostName = "ghost"

0 commit comments

Comments
 (0)
X Tutup