mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-11-02 05:17:23 +08:00
refactor(types): align user with typed route contracts
This commit is contained in:
@@ -131,7 +131,7 @@ async def update_user(
|
||||
return _SchemaResponse(success=True)
|
||||
|
||||
|
||||
@router.put( # type: ignore[misc]
|
||||
@router.put(
|
||||
"/current", summary="更新当前用户资料", response_model=_SchemaUser
|
||||
)
|
||||
async def update_current_user(
|
||||
|
||||
Reference in New Issue
Block a user