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

@ -49,7 +49,7 @@ func RegisterApp(ctx context.Context, appConfig *AppConfig) (*Application, error
if err != nil {
return nil, err
}
u.Path = path.Join(u.Path, "/api/v1/apps")
u.Path = path.Join(u.Path, "api/v1/apps")
req, err := http.NewRequest(http.MethodPost, u.String(), strings.NewReader(params.Encode()))
if err != nil {