feat: common style for getters

This commit is contained in:
2025-08-29 23:51:38 +04:00
parent 5fbd6d6185
commit 93141da22c
8 changed files with 8 additions and 8 deletions

View File

@ -12,7 +12,7 @@ class BoardService:
async def get_boards(self, project_id: int) -> GetBoardsResponse:
boards = await self.repository.get_all(project_id)
return GetBoardsResponse(
boards=[BoardSchema.model_validate(board) for board in boards]
items=[BoardSchema.model_validate(board) for board in boards]
)
async def create_board(self, request: CreateBoardRequest) -> CreateBoardResponse: