Remove needless slash

This commit is contained in:
178inaba 2017-05-12 10:25:15 +09:00
parent f279adb618
commit add4e3e9cd
8 changed files with 47 additions and 47 deletions

View file

@ -89,7 +89,7 @@ func (c *Client) streaming(ctx context.Context, p string, params url.Values) (ch
if err != nil {
return nil, err
}
u.Path = path.Join(u.Path, "/api/v1/streaming", p)
u.Path = path.Join(u.Path, "api/v1/streaming", p)
u.RawQuery = params.Encode()
req, err := http.NewRequest(http.MethodGet, u.String(), nil)