working commit

This commit is contained in:
2026-02-18 23:56:04 +02:00
parent 87354c7cdc
commit 1fd55521de
4 changed files with 14 additions and 16 deletions
+2 -4
View File
@@ -16,10 +16,10 @@ import (
"fmt"
"io"
"net/http"
"net/url"
"os"
"path/filepath"
"strconv"
"net/url"
"mstore/app/descr"
"mstore/pkg/auxhttp"
@@ -338,12 +338,10 @@ func (cli *Client) DeleteCollection(ctx context.Context, catalogURI string, isPa
}
if isPattern {
values := url.Values{}
values.Add("isPattern","true")
values.Add("isPattern", "true")
catalogURI = catalogURI + "?" + values.Encode()
}
req, err := http.NewRequestWithContext(ctx, http.MethodDelete, catalogURI, nil)
if err != nil {
return res, err