Spaces:
Sleeping
Sleeping
Update app/app.py
Browse files- app/app.py +1 -1
app/app.py
CHANGED
|
@@ -65,7 +65,7 @@ async def handle_chatwork_webhook(
|
|
| 65 |
|
| 66 |
if room_id and from_account_id and message_id:
|
| 67 |
# Chatwork API ์๋ํฌ์ธํธ
|
| 68 |
-
url = f"https://api.chatwork.com/
|
| 69 |
|
| 70 |
# API ์์ฒญ ํค๋
|
| 71 |
headers = {"X-ChatWorkToken": CHATWORK_API_TOKEN}
|
|
|
|
| 65 |
|
| 66 |
if room_id and from_account_id and message_id:
|
| 67 |
# Chatwork API ์๋ํฌ์ธํธ
|
| 68 |
+
url = f"https://api.chatwork.com/v2/rooms/{room_id}/messages"
|
| 69 |
|
| 70 |
# API ์์ฒญ ํค๋
|
| 71 |
headers = {"X-ChatWorkToken": CHATWORK_API_TOKEN}
|