refactor(easel): update api router

This commit is contained in:
2026-06-16 21:18:16 +03:00
parent 2bca3dd75a
commit c2cd18386b
5 changed files with 37 additions and 34 deletions
+4 -5
View File
@@ -1,8 +1,7 @@
from fastapi import FastAPI
from fastapi import APIRouter
from . import schedule, weather
def mount(app: FastAPI):
weather.mount(app)
schedule.mount(app)
router = APIRouter(prefix="/api", tags=["API"])
router.include_router(weather.router)
router.include_router(schedule.router)