Skip to content

Commit 67372b4

Browse files
committed
Move tags and prefix to the private router instead
1 parent 8ccd117 commit 67372b4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

backend/app/api/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111

1212

1313
if settings.ENVIRONMENT == "local":
14-
api_router.include_router(private.router, prefix="/private", tags=["private"])
14+
api_router.include_router(private.router)

backend/app/api/routes/private.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
UserPublic,
1111
)
1212

13-
router = APIRouter(tags=["private"])
13+
router = APIRouter(tags=["private"], prefix="/private")
1414

1515

1616
class PrivateUserCreate(BaseModel):

0 commit comments

Comments
 (0)