Skip to content

Commit f41c371

Browse files
committed
fix readme monitor example
1 parent 366b080 commit f41c371

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff 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

6160
def 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

7774
def is_solved(issue):

0 commit comments

Comments
 (0)