This commit is contained in:
jxxghp
2023-08-08 06:59:17 +08:00
parent 38dd65bece
commit 3c3b8ff0e4
6 changed files with 8 additions and 10 deletions

View File

@ -75,8 +75,7 @@ def cookie_cloud_sync(background_tasks: BackgroundTasks,
@router.get("/reset", summary="重置站点", response_model=schemas.Response)
def cookie_cloud_sync(background_tasks: BackgroundTasks,
db: Session = Depends(get_db),
def cookie_cloud_sync(db: Session = Depends(get_db),
_: schemas.TokenPayload = Depends(verify_token)) -> Any:
"""
清空所有站点数据并重新同步CookieCloud站点信息