Skip to content

Commit e62a619

Browse files
committed
fix typo in comment
1 parent 97c1b0a commit e62a619

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/api/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ func (c *client) NewHTTPRequest(ctx context.Context, method, p string, body io.R
173173
}
174174

175175
func (c *client) createHTTPRequest(ctx context.Context, method, p string, body io.Reader) (*http.Request, error) {
176-
// Can't use c.opts.EndpointURL.JoinPaht(p) here because `p` could contain a query string
176+
// Can't use c.opts.EndpointURL.JoinPath(p) here because `p` could contain a query string
177177
req, err := http.NewRequestWithContext(ctx, method, c.opts.EndpointURL.String()+"/"+p, body)
178178
if err != nil {
179179
return nil, err

0 commit comments

Comments
 (0)