Calendar + NLP modules implemented
This commit is contained in:
@@ -4,9 +4,10 @@ from fastapi import APIRouter, Depends
|
||||
from sqlalchemy.orm import Session
|
||||
from core.database import Base, get_db
|
||||
from modules.auth.models import User, UserRole
|
||||
from modules.auth.dependencies import admin_only
|
||||
|
||||
|
||||
router = APIRouter()
|
||||
router = APIRouter(prefix="/admin", tags=["admin"], dependencies=[Depends(admin_only)])
|
||||
|
||||
@router.get("/")
|
||||
def read_admin():
|
||||
|
||||
Reference in New Issue
Block a user