Skip to content
This repository was archived by the owner on Aug 28, 2025. It is now read-only.

Commit 33b7cc3

Browse files
committed
fix typo
1 parent 7e5d6b0 commit 33b7cc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ func (c *ApiClient) Get(uri string, params map[string]string) (resp *http.Respon
125125

126126
// https://github.com/mrjones/oauth/issues/34
127127
encQuery := strings.Replace(u.String(), ";", "%3B", -1)
128-
encQuery = strings.Replace(encQuery, "./", "?", 1) // see Replace method to understand when "./" is returned
128+
encQuery = strings.Replace(encQuery, "./", "?", 1) // see URL.String method to understand when "./" is returned
129129

130130
// non-empty string may miss "?"
131131
if encQuery[:1] != "?" {

0 commit comments

Comments
 (0)