diff --git a/core/commands/pin/remotepin.go b/core/commands/pin/remotepin.go index dd5aa18e059..5f0e4e3719a 100644 --- a/core/commands/pin/remotepin.go +++ b/core/commands/pin/remotepin.go @@ -687,7 +687,7 @@ func normalizeEndpoint(endpoint string) (string, error) { uri.Path = strings.TrimSuffix(uri.Path, "/") // remove any query params - if uri.RawQuery != "" || uri.RawFragment != "" { + if uri.RawQuery != "" { return "", fmt.Errorf("service endpoint should be provided without any query parameters") }