From 918f939c54ca448c21926d2a3e67febf4167198c Mon Sep 17 00:00:00 2001 From: xuweiwei Date: Mon, 21 Mar 2022 15:23:37 +0800 Subject: [PATCH] fix: remove a extra characters in url path (#103) --- changes_revision.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changes_revision.go b/changes_revision.go index c20c5ac..2a39c9f 100644 --- a/changes_revision.go +++ b/changes_revision.go @@ -197,7 +197,7 @@ func (s *ChangesService) GetDraft(changeID, revisionID, draftID string) (*Commen // // Gerrit API docs: https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#get-comment func (s *ChangesService) GetComment(changeID, revisionID, commentID string) (*CommentInfo, *Response, error) { - u := fmt.Sprintf("changes/%s/revisions/%s//comments/%s", changeID, revisionID, commentID) + u := fmt.Sprintf("changes/%s/revisions/%s/comments/%s", changeID, revisionID, commentID) return s.getCommentInfoResponse(u) }