Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
trik committed Jan 19, 2016
1 parent 8993d7e commit a4ace2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion silk/views/raw.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def get(self, request, request_id):
if typ and subtyp:
silk_request = Request.objects.get(pk=request_id)
if typ == 'request':
body = silk_request.raw_body_ if subtyp == 'raw' else silk_request.body
body = silk_request.raw_body if subtyp == 'raw' else silk_request.body
elif typ == 'response':
Logger.debug(silk_request.response.raw_body_decoded)
body = silk_request.response.raw_body_decoded if subtyp == 'raw' else silk_request.response.body
Expand Down

0 comments on commit a4ace2c

Please sign in to comment.