Skip to content

Commit

Permalink
fix iris mobile hmac bug
Browse files Browse the repository at this point in the history
  • Loading branch information
diegocepedaw authored and jwon committed Feb 3, 2022
1 parent 1ae7274 commit 93108b2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/iris_relay/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -725,10 +725,7 @@ def __call__(self, req, resp):
path += '?%s' % req.query_string
try:
if req.method == 'POST':
body = b''
if req.context['body']:
body = req.context['body']
result = self.iris_client.post(path, body)
result = self.iris_client.post(path, data=req.context['body'].decode('utf-8'))
elif req.method == 'GET':
result = self.iris_client.get(path)
elif req.method == 'OPTIONS':
Expand Down

0 comments on commit 93108b2

Please sign in to comment.