From d6a4c121b4371b4b81cc5579aae208ca7ce5bb50 Mon Sep 17 00:00:00 2001 From: Travis Semple Date: Wed, 6 Sep 2023 08:24:13 -0700 Subject: [PATCH] Remove isPremium check from CSV export. --- pay-api/src/pay_api/resources/account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pay-api/src/pay_api/resources/account.py b/pay-api/src/pay_api/resources/account.py index 2c54944ee..cd165567e 100644 --- a/pay-api/src/pay_api/resources/account.py +++ b/pay-api/src/pay_api/resources/account.py @@ -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)