From 2ec78a5237b7cb58c53a2f3b388dcff1fc31ebe9 Mon Sep 17 00:00:00 2001 From: poduck Date: Mon, 1 Dec 2025 01:45:22 -0500 Subject: [PATCH] fix(urls): Remove 'api/' prefix from tickets endpoint to match frontend expectation --- smoothschedule/config/urls.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/smoothschedule/config/urls.py b/smoothschedule/config/urls.py index 54e6f2c..346bd85 100644 --- a/smoothschedule/config/urls.py +++ b/smoothschedule/config/urls.py @@ -48,7 +48,6 @@ urlpatterns = [ # API URLS urlpatterns += [ # Stripe Webhooks (dj-stripe built-in handler) - # This is the URL you register with Stripe: https://yourdomain.com/api/stripe/webhook/ path("api/stripe/", include("djstripe.urls", namespace="djstripe")), # Public API v1 (for third-party integrations) path("api/v1/", include("smoothschedule.public_api.urls", namespace="public_api")), @@ -57,7 +56,7 @@ urlpatterns += [ # Payments API path("api/payments/", include("payments.urls")), # Tickets API - path("api/tickets/", include("tickets.urls")), + path("tickets/", include("tickets.urls")), # Notifications API path("api/notifications/", include("notifications.urls")), # Platform API