diff --git a/core/commands/pin/remotepin.go b/core/commands/pin/remotepin.go index b29860a3f4aa1e4b2ea70590ee6abd4dd37af927..5abbc7fb6ea2547476531507f1bfc42eeb634d87 100644 --- a/core/commands/pin/remotepin.go +++ b/core/commands/pin/remotepin.go @@ -752,7 +752,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") }