Skip to content

Commit

Permalink
Update cg/server/endpoints/cases.py
Browse files Browse the repository at this point in the history
  • Loading branch information
diitaz93 authored Jan 29, 2025
1 parent b06f1d4 commit 2110326
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cg/server/endpoints/cases.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def _get_cases(request: CasesRequest, customers: list[Customer] | None) -> tuple
action=request.action,
case_search=request.enquiry,
customers=customers,
offset=request.page * request.page_size,
offset=(request.page-1) * request.page_size,
limit=request.page_size,
)

Expand Down

0 comments on commit 2110326

Please sign in to comment.