Spaces:
Running
on
Zero
Running
on
Zero
test
Browse files
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
|