feat(tester): add UpdateProblem endpoint

This commit is contained in:
Vyacheslav1557 2025-03-07 15:01:37 +05:00
parent 50a4f87f53
commit 2bc625363d
10 changed files with 237 additions and 34 deletions

View file

@ -54,10 +54,6 @@ func (client *Client) convert(ctx context.Context, text, from, to string) (strin
defer resp.Body.Close()
if resp.StatusCode != http.StatusOK {
return "", err
}
body, err = io.ReadAll(resp.Body)
if err != nil {
return "", err