working commit
This commit is contained in:
+1
-3
@@ -16,10 +16,10 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"io"
|
"io"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
"net/url"
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strconv"
|
"strconv"
|
||||||
"net/url"
|
|
||||||
|
|
||||||
"mstore/app/descr"
|
"mstore/app/descr"
|
||||||
"mstore/pkg/auxhttp"
|
"mstore/pkg/auxhttp"
|
||||||
@@ -342,8 +342,6 @@ func (cli *Client) DeleteCollection(ctx context.Context, catalogURI string, isPa
|
|||||||
catalogURI = catalogURI + "?" + values.Encode()
|
catalogURI = catalogURI + "?" + values.Encode()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
req, err := http.NewRequestWithContext(ctx, http.MethodDelete, catalogURI, nil)
|
req, err := http.NewRequestWithContext(ctx, http.MethodDelete, catalogURI, nil)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return res, err
|
return res, err
|
||||||
|
|||||||
Reference in New Issue
Block a user