[MM-37760] Reduce export surface of client4 (#18102)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
a8ca5c423f
Коммит
16d8640072
@@ -60,7 +60,7 @@ func fileBytes(t *testing.T, path string) []byte {
|
||||
|
||||
func testDoUploadFileRequest(t testing.TB, c *model.Client4, url string, blob []byte, contentType string,
|
||||
contentLength int64) (*model.FileUploadResponse, *model.Response, error) {
|
||||
req, err := http.NewRequest("POST", c.ApiUrl+c.GetFilesRoute()+url, bytes.NewReader(blob))
|
||||
req, err := http.NewRequest("POST", c.ApiUrl+"/files"+url, bytes.NewReader(blob))
|
||||
require.NoError(t, err)
|
||||
|
||||
if contentLength != 0 {
|
||||
|
||||
Ссылка в новой задаче
Block a user