From feb285d5c2e16c701e514dee1fe32611f2b7af03 Mon Sep 17 00:00:00 2001 From: fulder Date: Fri, 22 Oct 2021 00:00:54 +0200 Subject: [PATCH] Get show id not item_id --- src/lambdas/subscribers/show_updates/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lambdas/subscribers/show_updates/__init__.py b/src/lambdas/subscribers/show_updates/__init__.py index 6a54dc8c..6868e87f 100644 --- a/src/lambdas/subscribers/show_updates/__init__.py +++ b/src/lambdas/subscribers/show_updates/__init__.py @@ -12,7 +12,7 @@ def handle(event, context): message["api_id"], ) - items = watch_history_db.get_items_by_id(show["item_id"]) + items = watch_history_db.get_items_by_id(show["id"]) for item in items: print(f"Updating item: {item}")