freeleaps-service-hub/apps/authentication/webapi/routes/auth/__init__.py

10 lines
305 B
Python

from fastapi import APIRouter
from .send_email_code import router as sec_router
from .send_mobile_code import router as smc_router
router = APIRouter()
router.include_router(sec_router, prefix="/code", tags=["authentication"])
router.include_router(smc_router, prefix="/code", tags=["authentication"])