mirror of
https://github.com/bettercap/bettercap
synced 2025-08-21 05:53:20 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
1570a9f5ab
commit
4698bdba54
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ func (j *JSResponse) ReadBody() string {
|
|||
|
||||
j.Body = string(raw)
|
||||
j.bodyRead = true
|
||||
// reset the request body to the original unread state
|
||||
// reset the response body to the original unread state
|
||||
j.resp.Body = ioutil.NopCloser(bytes.NewBuffer(raw))
|
||||
|
||||
return j.Body
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue