Skip to content

Commit

Permalink
fix: url in vcs commits request
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippHeuer committed Feb 7, 2023
1 parent caaefa7 commit 07b63a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ func (sdk SDK) VCSCommits(request VCSCommitsRequest) (*[]VCSCommit, error) {
SetHeader("Accept", "application/json").
SetResult(&[]VCSCommit{}).
SetError(&APIError{}).
Get(fmt.Sprintf("/vcs/commit?from=%s&to=%schanges=%s&limit=%s", request.FromHash, request.ToHash, strconv.FormatBool(request.IncludeChanges), strconv.Itoa(request.Limit)))
Get(fmt.Sprintf("/vcs/commit?from=%s&to=%s&changes=%s&limit=%s", request.FromHash, request.ToHash, strconv.FormatBool(request.IncludeChanges), strconv.Itoa(request.Limit)))

if err != nil {
return nil, err
Expand Down

0 comments on commit 07b63a2

Please sign in to comment.