Skip to content

Commit

Permalink
Update request_detail.py
Browse files Browse the repository at this point in the history
  • Loading branch information
quertenmont authored Jan 28, 2025
1 parent d5fb3b9 commit 3305afe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion silk/views/request_detail.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def get(self, request, request_id):
'request': request
}

if len(silk_request.raw_body < 20000): # Don't do this for large request
if len(silk_request.raw_body) < 20000: # Don't do this for large request
body = silk_request.raw_body
try:
body = json.loads(body) # Incase encoded as JSON
Expand Down

0 comments on commit 3305afe

Please sign in to comment.