Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:fga-eps-mds/2023.2-UnB-TV-VideoS…
Browse files Browse the repository at this point in the history
…ervice into develop
  • Loading branch information
joao15victor08 committed Nov 22, 2023
2 parents 9e8da2b + 18c70fc commit 084f76f
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, scheduleController
from controller import commentController
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 084f76f

Please sign in to comment.