From 18c70fc37517a3e6766493a12d00e6c37b636802 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Victor?= Date: Wed, 22 Nov 2023 20:12:43 -0300 Subject: [PATCH] Resolve teste --- src/main.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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