router tags
This commit is contained in:
parent
c117698e48
commit
972359cb49
2 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ from ..db import Connection
|
|||
from ..db.schemas import User, UserCapability, UserCreate
|
||||
from ._common import Responses, get_current_user
|
||||
|
||||
router = APIRouter(prefix="/admin")
|
||||
router = APIRouter(prefix="/admin", tags=["admin"])
|
||||
|
||||
|
||||
@router.put(
|
||||
|
|
|
@ -12,7 +12,7 @@ from ..db import Connection
|
|||
from ..db.schemas import User, UserCapability, UserCreate
|
||||
from ._common import Responses, get_current_user, get_current_user_if_admin
|
||||
|
||||
router = APIRouter(prefix="/user")
|
||||
router = APIRouter(prefix="/user", tags=["user"])
|
||||
|
||||
|
||||
class Token(BaseModel):
|
||||
|
|
Loading…
Reference in a new issue