Skip to content

Commit

Permalink
Resolve teste
Browse files Browse the repository at this point in the history
  • Loading branch information
joao15victor08 committed Nov 22, 2023
1 parent a291aa8 commit 18c70fc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

load_dotenv()

from controller import commentController, scheduleController
from controller import commentController
from database import SessionLocal, engine
from model import commentModel

Expand All @@ -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
Expand Down

0 comments on commit 18c70fc

Please sign in to comment.