This commit is contained in:
Slipstream 2025-05-09 17:18:22 -06:00
parent 1c1b61c4a8
commit 6bc445f249
Signed by: slipstream
GPG Key ID: 13E498CE010AC6FD

View File

@ -520,7 +520,7 @@ app.mount("/dashboard/api", dashboard_api_app) # Mount the new dashboard API
# Import and mount webhook endpoints # Import and mount webhook endpoints
try: try:
from .webhook_endpoints import router as webhook_router # Relative import from webhook_endpoints import router as webhook_router # Relative import
app.mount("/webhook", webhook_router) # Mount directly on the main app for simplicity app.mount("/webhook", webhook_router) # Mount directly on the main app for simplicity
# Or, if you prefer to nest it under /api: # Or, if you prefer to nest it under /api:
# api_app.include_router(webhook_router, prefix="/webhooks", tags=["Webhooks"]) # api_app.include_router(webhook_router, prefix="/webhooks", tags=["Webhooks"])