File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,6 @@ def search():
4040 # {
4141 # "order_id": 123,
4242 # "order_status": "awaiting_delivery",
43- # "shipment_status": "completed",
4443 # },
4544 # ...
4645 # ]
@@ -59,19 +58,17 @@ def search():
5958 return issues
6059
6160def update (issues ):
62- # Refreshes order and shipment statuses for the provided order IDs
61+ # Refreshes order status for the provided order IDs
6362 #
6463 # Example SQL:
6564 # select
6665 # orders.id as order_id,
6766 # orders.status as order_status
6867 # from orders
69- # left join shipments
70- # on shipments.order_id = orders.id
7168 # where
7269 # orders.id in (<list_of_order_ids>);
7370 order_ids = [issue[" order_id" ] for issue in issues]
74- updated_issues = get_orders_and_shipments_status (order_ids)
71+ updated_issues = get_orders_status (order_ids)
7572 return updated_issues
7673
7774def is_solved (issue ):
You can’t perform that action at this time.
0 commit comments