Clarify comment on reviewer API behavior
Update comment in FetchOptions to specify that the APIs used for both GHES and GitHub.com accept user logins and team slugs directly, clarifying why non-interactive flows with Add/Remove don't need to fetch reviewers/teams. Comment-only change; no functional modifications.
This commit is contained in:
parent
aac223ab71
commit
a9a0486c70
1 changed files with 1 additions and 1 deletions
|
|
@ -459,7 +459,7 @@ func FetchOptions(client *api.Client, repo ghrepo.Interface, editable *Editable,
|
|||
fetchReviewers = true
|
||||
}
|
||||
// Note: Non-interactive flows (with Add/Remove) don't need to fetch reviewers/teams
|
||||
// because the REST API accepts logins and team slugs directly.
|
||||
// because the APIs in use for both GHES and GitHub.com accept user logins and team slugs directly.
|
||||
}
|
||||
|
||||
fetchAssignees := false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue