Fix error.
parent
90d6524941
commit
f99f96e65f
|
|
@ -1,6 +1,6 @@
|
|||
from fastapi import APIRouter, Depends, UploadFile, File, Form, HTTPException
|
||||
from app.core.database import get_db_connection
|
||||
from app.core.auth import get_current_admin_user
|
||||
from app.core.auth import get_current_user, get_current_admin_user
|
||||
from app.core.response import create_api_response
|
||||
from app.core.config import BASE_DIR, EXTERNAL_APPS_DIR, ALLOWED_IMAGE_EXTENSIONS, MAX_IMAGE_SIZE
|
||||
from app.utils.apk_parser import parse_apk_with_androguard
|
||||
|
|
@ -44,7 +44,7 @@ class UpdateExternalAppRequest(BaseModel):
|
|||
async def get_external_apps(
|
||||
app_type: Optional[str] = None,
|
||||
is_active: Optional[bool] = None,
|
||||
current_user: dict = Depends(get_current_admin_user)
|
||||
current_user: dict = Depends(get_current_user)
|
||||
):
|
||||
"""
|
||||
获取外部应用列表(管理后台接口)
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue