chore: minor tweaks for better architecture
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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__)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user