Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
rileyfiretail authored Feb 19, 2024
1 parent 983dd88 commit df3ef96
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion firetail/auditor.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,8 @@ def create(self, response, token, diff=-1, scrub_headers=None, debug=False):
"headers": self.format_headers(dict(request.headers)),
"resource": request.url_rule.rule if request.url_rule is not None else request.path,
"method": request.method,
"body": request.data,
"body": request.get_data(as_text=True),

"ip": request.remote_addr,
},
"response": {
Expand Down

0 comments on commit df3ef96

Please sign in to comment.