Skip to content

Commit

Permalink
add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pkujawa committed Oct 30, 2024
1 parent acc8ba8 commit 11b7a04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/hct_mis_api/api/pagination.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@ def get_paginated_response(self, data: dict) -> Response:
def get_paginated_response_schema(self, schema: Any) -> dict:
response_schema = super().get_paginated_response_schema(schema)
del response_schema["properties"]["count"]
if "required" in response_schema:
response_schema["required"].remove("count")
return response_schema
Empty file.

0 comments on commit 11b7a04

Please sign in to comment.