Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Static Analysis and Fix Bugs #38

Merged
merged 18 commits into from
Jun 23, 2017
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
adding missing input paramter to NewRequest
  • Loading branch information
opalmer committed Jun 18, 2017
commit a637fa183c4ace1b23038193a6d78bf43358cd3a
2 changes: 1 addition & 1 deletion changes_revision.go
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ func (s *ChangesService) SetReviewed(changeID, revisionID, fileID string) (*Resp
func (s *ChangesService) CherryPickRevision(changeID, revisionID string, input *CherryPickInput) (*ChangeInfo, *Response, error) {
u := fmt.Sprintf("changes/%s/revisions/%s/cherrypick", changeID, revisionID)

req, err := s.client.NewRequest("POST", u, nil)
req, err := s.client.NewRequest("POST", u, input)
if err != nil {
return nil, nil, err
}
Expand Down
2 changes: 1 addition & 1 deletion groups_include.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func (s *GroupsService) IncludeGroup(groupID, includeGroupID string) (*GroupInfo
func (s *GroupsService) IncludeGroups(groupID string, input *GroupsInput) (*[]GroupInfo, *Response, error) {
u := fmt.Sprintf("groups/%s/groups", groupID)

req, err := s.client.NewRequest("POST", u, nil)
req, err := s.client.NewRequest("POST", u, input)
if err != nil {
return nil, nil, err
}
Expand Down