chore: minor tweaks for better architecture

This commit is contained in:
2026-08-20 11:43:48 +07:00
parent e212492b30
commit 05ded7d7ea
3 changed files with 7 additions and 4 deletions

View File

@@ -1,3 +1,6 @@
from fastapi import APIRouter
from .pally import router as pally_router
payment_routers = [pally_router]
payment_router = APIRouter(prefix="/payments")
payment_router.include_router(pally_router)

View File

@@ -13,7 +13,7 @@ from repositories.users import UserRepository
from schemas.invoices import InvoiceStatus
from services.payments import process_subscription_purchase, validate_pally_signature
router = APIRouter(prefix="/payments/pally")
router = APIRouter(prefix="/pally")
logger = logging.getLogger(__name__)