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

10 lines
287 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(prefix="/auth")
router.include_router(sec_router, tags=["authentication"])
router.include_router(smc_router, tags=["authentication"])