Skip to content

Commit

Permalink
feat: add type annotation to get_all_settings
Browse files Browse the repository at this point in the history
  • Loading branch information
filiptrplan committed Oct 4, 2024
1 parent 6d95661 commit 46cfbc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ async def save_settings() -> MessageResponse:


@router.get("/get/all", operation_id="get_all_settings")
async def get_all_settings() -> dict[str, Any]:
async def get_all_settings() -> AppModel:
return copy(settings_manager.settings)


Expand Down

0 comments on commit 46cfbc6

Please sign in to comment.