MCPcopy
hub / github.com/AstrBotDevs/AstrBot / update_dashboard

Function update_dashboard

astrbot/dashboard/api/updates.py:156–160  ·  view source on GitHub ↗
(
    _auth: AuthContext = Depends(require_system_scope),
    service: UpdateService = Depends(get_service),
)

Source from the content-addressed store, hash-verified

154
155@router.post("/updates/dashboard")
156async def update_dashboard(
157 _auth: AuthContext = Depends(require_system_scope),
158 service: UpdateService = Depends(get_service),
159):
160 return await _run(service.update_dashboard)
161
162
163@legacy_router.post("/dashboard")

Callers

nothing calls this directly

Calls 1

_runFunction · 0.70

Tested by

no test coverage detected