diff --git a/app/api/v1/shop/__init__.py b/app/api/v1/shop/__init__.py index 23d483bd..05a36993 100644 --- a/app/api/v1/shop/__init__.py +++ b/app/api/v1/shop/__init__.py @@ -21,7 +21,7 @@ Authentication: from fastapi import APIRouter # Import shop routers -from . import auth, cart, content_pages, orders, products +from . import auth, carts, content_pages, orders, products # Create shop router router = APIRouter() @@ -37,7 +37,7 @@ router.include_router(auth.router, tags=["shop-auth"]) router.include_router(products.router, tags=["shop-products"]) # Shopping cart (public - session based) -router.include_router(cart.router, tags=["shop-cart"]) +router.include_router(carts.router, tags=["shop-cart"]) # Orders (authenticated) router.include_router(orders.router, tags=["shop-orders"]) diff --git a/app/api/v1/shop/cart.py b/app/api/v1/shop/carts.py similarity index 99% rename from app/api/v1/shop/cart.py rename to app/api/v1/shop/carts.py index 215b1997..0dc2387c 100644 --- a/app/api/v1/shop/cart.py +++ b/app/api/v1/shop/carts.py @@ -1,4 +1,4 @@ -# app/api/v1/shop/cart.py +# app/api/v1/shop/carts.py """ Shop Shopping Cart API (Public)