mirror of
https://gitlab.com/megazordpobeda/DataRush.git
synced 2026-05-23 01:37:11 +00:00
add team creation and fetch information by id
This commit is contained in:
@@ -10,6 +10,7 @@ from api.v1.review.auth import ReviewerAuth
|
||||
from api.v1.review.views import router as review_router
|
||||
from api.v1.user.views import router as user_router
|
||||
from api.v1.task.views import router as task_router
|
||||
from api.v1.team.views import router as team_router
|
||||
|
||||
router = NinjaAPI(
|
||||
title="DataRush API",
|
||||
@@ -43,6 +44,11 @@ router.add_router(
|
||||
task_router,
|
||||
auth=BearerAuth(),
|
||||
)
|
||||
router.add_router(
|
||||
"team",
|
||||
team_router,
|
||||
auth=BearerAuth(),
|
||||
)
|
||||
|
||||
|
||||
for exception, handler in handlers.exception_handlers:
|
||||
|
||||
Reference in New Issue
Block a user