Skip to content

Commit

Permalink
Refactor handle_callback function to update prompt message and check …
Browse files Browse the repository at this point in the history
…if receipt exists
  • Loading branch information
kkdai committed May 29, 2024
1 parent 553e138 commit 612824c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down

0 comments on commit 612824c

Please sign in to comment.