Skip to content

Commit

Permalink
cleaned up
Browse files Browse the repository at this point in the history
  • Loading branch information
tasherif-msft committed Mar 3, 2021
1 parent 3a38f04 commit a9df424
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,8 @@ def process_request(self, request):
body = six.ensure_str(request.body)
matched_objects = set(re.findall(old, body))
for matched_object in matched_objects:
request.body = body.replace(matched_object, new)
body = body.replace(matched_object, new)
new_body = body.replace(matched_object, new)
request.body = new_body
return request

def process_response(self, response):
Expand Down

0 comments on commit a9df424

Please sign in to comment.