Skip to content

Commit

Permalink
fix: bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
madawei2699 committed Apr 18, 2023
1 parent ad25b55 commit c81458e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def bot_process(event, say, logger):
urls = extract_urls_from_event(event)
logger.info(f'=====> Extracted urls from event: {urls}')
try:
dialog = remove_url_from_text(format_dialog_text(event["text"], voicemessage))
dialog = remove_url_from_text(format_dialog_text(event["text"], voicemessage), urls)
logger.info(f'=====> Formatted dialog: {dialog}')
update_thread_history(parent_thread_ts, f'User: {dialog}', urls)
except Exception as e:
Expand Down

0 comments on commit c81458e

Please sign in to comment.