forked from vieter-v/vieter
refactor: migrated to Response.body
This commit is contained in:
parent
aea83c38ef
commit
95441bdea0
2 changed files with 6 additions and 6 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue