mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-08-28 03:27:31 +08:00
fix: formatting app/api/endpoints/system.py
This commit is contained in:
@@ -366,9 +366,10 @@ def run_scheduler(jobid: str,
|
|||||||
Scheduler().start(jobid)
|
Scheduler().start(jobid)
|
||||||
return schemas.Response(success=True)
|
return schemas.Response(success=True)
|
||||||
|
|
||||||
|
|
||||||
@router.get("/runscheduler2", summary="运行服务(API_TOKEN)", response_model=schemas.Response)
|
@router.get("/runscheduler2", summary="运行服务(API_TOKEN)", response_model=schemas.Response)
|
||||||
def run_scheduler2(jobid: str,
|
def run_scheduler2(jobid: str,
|
||||||
_: str = Depends(verify_apitoken)):
|
_: str = Depends(verify_apitoken)):
|
||||||
"""
|
"""
|
||||||
执行命令(API_TOKEN认证)
|
执行命令(API_TOKEN认证)
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user