Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -32,7 +32,7 @@ def save_email_to_bucket(payload: dict):
|
|
| 32 |
async def root_check():
|
| 33 |
return {"status": "online", "message": "High-Ticket AI Agent Webhook Bridge is running via Docker"}
|
| 34 |
|
| 35 |
-
@app.post("/api/v1/
|
| 36 |
async def handle_email_webhook(request: Request, background_tasks: BackgroundTasks):
|
| 37 |
try:
|
| 38 |
payload = await request.json()
|
|
|
|
| 32 |
async def root_check():
|
| 33 |
return {"status": "online", "message": "High-Ticket AI Agent Webhook Bridge is running via Docker"}
|
| 34 |
|
| 35 |
+
@app.post("/api/v1/listener")
|
| 36 |
async def handle_email_webhook(request: Request, background_tasks: BackgroundTasks):
|
| 37 |
try:
|
| 38 |
payload = await request.json()
|