Skip to content

Commit

Permalink
Corrige commit feito errado
Browse files Browse the repository at this point in the history
  • Loading branch information
joao15victor08 committed Nov 22, 2023
1 parent 084f76f commit 8839f71
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 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
from controller import commentController, scheduleController
from database import SessionLocal, engine
from model import commentModel

Expand All @@ -23,13 +23,13 @@
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"}


app.include_router(prefix="/api", router=commentController.comment)

if __name__ == '__main__': # pragma: no cover
port = 8001
if (len(sys.argv) == 2):
Expand Down

0 comments on commit 8839f71

Please sign in to comment.