From 612824c558a3f0983a2758fb65949a573c5952f3 Mon Sep 17 00:00:00 2001 From: Evan Lin Date: Wed, 29 May 2024 20:21:11 +0800 Subject: [PATCH] Refactor handle_callback function to update prompt message and check if receipt exists --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 6b0e621..cd0a971 100644 --- a/main.py +++ b/main.py @@ -161,7 +161,7 @@ async def handle_callback(request: Request): await line_bot_api.reply_message( event.reply_token, [TextSendMessage( - text="This receipt already exists in the database."), reply_msg] + text="這個收據已經存在資料庫中。"), reply_msg, tw_items] ) return 'OK'