diff --git a/src/main.py b/src/main.py index 9ce494d..09e708d 100644 --- a/src/main.py +++ b/src/main.py @@ -5,7 +5,7 @@ load_dotenv() -from controller import commentController, scheduleController +from controller import commentController from database import SessionLocal, engine from model import commentModel @@ -23,12 +23,12 @@ allow_headers=["*"], ) -app.include_router(prefix="/api", router=commentController.comment) -app.include_router(prefix="/api", router=scheduleController.schedule) - @app.get("/") async def root(): - return {"message": "Hello from Video Service!"} + return {"message": "Hello from Video Service"} + + +app.include_router(prefix="/api", router=commentController.comment) if __name__ == '__main__': # pragma: no cover port = 8001