kenken999 commited on
Commit
736b538
1 Parent(s): a27dfc5
Files changed (1) hide show
  1. mysite/interpreter/google_chat.py +1 -0
mysite/interpreter/google_chat.py CHANGED
@@ -59,6 +59,7 @@ def send_google_chat_card(webhook_url, title, subtitle, link_text, link_url):
59
  print("Message posted successfully.")
60
  else:
61
  print(f"Failed to post message: {response.status_code}, {response.text}")
 
62
  response_data = response.json()
63
  thread_name = response_data['thread']['name']
64
  return thread_name
 
59
  print("Message posted successfully.")
60
  else:
61
  print(f"Failed to post message: {response.status_code}, {response.text}")
62
+ #
63
  response_data = response.json()
64
  thread_name = response_data['thread']['name']
65
  return thread_name