Spaces:
Running
on
Zero
Running
on
Zero
fda
Browse files- routers/webhook.py +4 -2
routers/webhook.py
CHANGED
@@ -89,8 +89,10 @@ async def webhook(request: Request):
|
|
89 |
"Authorization": f"Bearer {os.getenv('ChannelAccessToken')}",
|
90 |
}
|
91 |
#/webhook-test/d2d0af6e-5c42-45b6-a923-3bd2d8520e3f
|
92 |
-
post_data_line("https://kenken999-nodex-n8n.hf.space/webhook-test/d2d0af6e-5c42-45b6-a923-3bd2d8520e3d",body,headers)
|
93 |
-
|
|
|
|
|
94 |
|
95 |
|
96 |
post_data(n8nurl,text,thread_name,headers)
|
|
|
89 |
"Authorization": f"Bearer {os.getenv('ChannelAccessToken')}",
|
90 |
}
|
91 |
#/webhook-test/d2d0af6e-5c42-45b6-a923-3bd2d8520e3f
|
92 |
+
#post_data_line("https://kenken999-nodex-n8n.hf.space/webhook-test/d2d0af6e-5c42-45b6-a923-3bd2d8520e3d",body,headers)
|
93 |
+
post_data_line("https://kenken999-nodex-n8n.hf.space/webhook/d2d0af6e-5c42-45b6-a923-3bd2d8520e3d",body,headers)
|
94 |
+
|
95 |
+
#return
|
96 |
|
97 |
|
98 |
post_data(n8nurl,text,thread_name,headers)
|