Fix missing Depends import in plain admin router
This commit is contained in:
@@ -12,7 +12,7 @@ from html import escape
|
|||||||
from typing import Any
|
from typing import Any
|
||||||
|
|
||||||
import aioredis
|
import aioredis
|
||||||
from fastapi import APIRouter, Form, Request
|
from fastapi import APIRouter, Depends, Form, Request
|
||||||
from sqlalchemy import func, select
|
from sqlalchemy import func, select
|
||||||
from sqlalchemy.ext.asyncio import AsyncSession
|
from sqlalchemy.ext.asyncio import AsyncSession
|
||||||
from starlette.responses import HTMLResponse, RedirectResponse
|
from starlette.responses import HTMLResponse, RedirectResponse
|
||||||
|
|||||||
Reference in New Issue
Block a user