Skip to content

Commit

Permalink
Increase from 60k to 100k on CSV export (#1862)
Browse files Browse the repository at this point in the history
  • Loading branch information
seeker25 authored Dec 13, 2024
1 parent 9835bbe commit d7a2794
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pay-api/src/pay_api/models/payment.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ def search_purchase_history( # noqa:E501; pylint:disable=too-many-arguments, to
)
else:
count = cls.get_count(auth_account_id, search_filter)
if count > 60000:
if count > 100000:
raise BusinessException(Error.PAYMENT_SEARCH_TOO_MANY_RECORDS)
result = query.all()
return result, count
Expand Down

0 comments on commit d7a2794

Please sign in to comment.