Skip to content

Commit

Permalink
Remove isPremium check from CSV export. (bcgov#1235)
Browse files Browse the repository at this point in the history
  • Loading branch information
seeker25 authored Sep 6, 2023
1 parent 0d71d37 commit 4dc3fd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pay-api/src/pay_api/resources/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ def post(account_number: str):
report_name = f'{report_name}.csv'

# Check if user is authorized to perform this action
check_auth(business_identifier=None, account_id=account_number, contains_role=EDIT_ROLE, is_premium=True)
check_auth(business_identifier=None, account_id=account_number, contains_role=EDIT_ROLE)
try:
report = Payment.create_payment_report(account_number, request_json, response_content_type, report_name)
response = Response(report, 201)
Expand Down

0 comments on commit 4dc3fd0

Please sign in to comment.