refactor: migrated to Response.body

This commit is contained in:
Jef Roosens 2022-06-05 22:21:54 +02:00
parent aea83c38ef
commit 95441bdea0
Signed by untrusted user: Jef Roosens
GPG key ID: B75D4F293C7052DB
2 changed files with 6 additions and 6 deletions

View file

@ -66,5 +66,5 @@ fn (c &Client) send_request_with_body<T>(method Method, url string, params map[s
fn (c &Client) send_request_raw_response(method Method, url string, params map[string]string, body string) ?string {
res := c.send_request_raw(method, url, params, body)?
return res.text
return res.body
}