Skip to content

Commit

Permalink
Fix getBody -> body in StandaloneWSResponse (#270)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ophirr33 authored and ignasi35 committed Apr 1, 2019
1 parent c0cad7d commit 5b84c97
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,13 @@ trait StandaloneWSResponse {
* But you can also render as JSON
*
* {{{
* val responseBodyAsJson: JsValue = response.getBody[JsValue]
* val responseBodyAsJson: JsValue = response.body[JsValue]
* }}}
*
* or as XML:
*
* {{{
* val responseBodyAsByteString: ByteString = response.getBody[ByteString]
* val responseBodyAsByteString: ByteString = response.body[ByteString]
* }}}
*/
def body[T: BodyReadable]: T = {
Expand Down

0 comments on commit 5b84c97

Please sign in to comment.