Skip to content

Conversation

@akodelia
Copy link
Contributor

No description provided.

@akodelia akodelia force-pushed the feature/LITE-28409-Add-pagination-to-endpoints branch from c4f94e4 to c8f6040 Compare August 17, 2023 08:17
"""
paginated = paginate(db, query, params)
resolve_params(params)
response.headers['X-Total-Count'] = str(paginated.total)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[COD-C] It is not clear why do we need this header. It duplicates the Content-Range value

@akodelia akodelia force-pushed the feature/LITE-28409-Add-pagination-to-endpoints branch from c8f6040 to 3388460 Compare August 17, 2023 09:06
@akodelia akodelia requested a review from d3rky August 17, 2023 09:40
@d3rky d3rky merged commit 91d09f1 into master Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants