Peter Mutwiri commited on
Commit ·
f71b1a3
1
Parent(s): 6863a84
imported get current user in schema router
Browse files- app/routers/schema.py +1 -1
app/routers/schema.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
# app/routers/schema.py
|
| 2 |
from fastapi import APIRouter, Depends
|
| 3 |
-
|
| 4 |
router = APIRouter(prefix="/api/v1/schema", tags=["schema"])
|
| 5 |
|
| 6 |
@router.get("/discover")
|
|
|
|
| 1 |
# app/routers/schema.py
|
| 2 |
from fastapi import APIRouter, Depends
|
| 3 |
+
from app.deps import get_current_user
|
| 4 |
router = APIRouter(prefix="/api/v1/schema", tags=["schema"])
|
| 5 |
|
| 6 |
@router.get("/discover")
|