diff --git a/main.py b/main.py index a5261fc..545e44d 100644 --- a/main.py +++ b/main.py @@ -530,7 +530,7 @@ def redis_message_handler(): if option.startswith("PriceSlot"): handle_get_price_slot(country, user_id, option) - elif (option == "All"): + elif (option == "price"): if not (content): raise Exception (f"[{SERVICE_NAME}] Missing required parameters | Channel: {channel}") @@ -1961,7 +1961,6 @@ def handle_get_price_slot(country: str, user_id: str, option: str = ""): print(f"[{SERVICE_NAME}] Get price slot error: {e}") traceback.print_exc() - # กรณีพัง ให้ยิง Error กลับไปบอก Frontend ด้วย if FRONTEND_NOTIFY_URL: error_payload = { "type": "notify",