Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
oboratav committed Oct 31, 2020
1 parent 3775959 commit 3ba818f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,8 @@ def on_get(self, req, resp):
response_content["shippingDeliveryDetailVO"].extend(
serialize_object(query_by_invoice_id, target_cls=dict)["shippingDeliveryDetailVO"])

if query.outFlag == SUCCESSFUL:
resp.status = falcon.HTTP_OK
resp.body = json.dumps(response_content)
resp.status = falcon.HTTP_OK
resp.body = json.dumps(response_content)

def on_delete(self, req, resp):
"""
Expand Down

0 comments on commit 3ba818f

Please sign in to comment.