This commit is contained in:
@@ -3,7 +3,7 @@ from typing import Optional
|
||||
from app.config import API_KEY
|
||||
from app.services.cache import clear_cache, get_cache_stats
|
||||
|
||||
router = APIRouter()
|
||||
router = APIRouter(tags=["Cache"])
|
||||
|
||||
@router.get("/cache/clear")
|
||||
async def clear_cache_route(x_api_key: Optional[str] = Header(None)):
|
||||
|
||||
Reference in New Issue
Block a user