Skip to content

Commit

Permalink
fixed misplaced bracket
Browse files Browse the repository at this point in the history
  • Loading branch information
OdysseyScorpio committed Jan 26, 2021
1 parent b2e2ebf commit 690df6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/modules/v4/orders.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ def get_order(colony_hash, order_hash):

colony.ping()

content = gzip.compress(json.dumps(order.to_dict().encode('utf8'), 5))
content = gzip.compress(json.dumps(order.to_dict()).encode('utf8'), 5)
response = make_response(content, 200)
response.headers['Content-length'] = len(content)
response.headers['Content-Encoding'] = 'gzip'
Expand Down

0 comments on commit 690df6e

Please sign in to comment.