Merge pull request #5801 from expsa/add_products_domain_inplace

[FIX] syntax error
This commit is contained in:
abdurrahman-saber 2025-12-23 18:52:31 +04:00 committed by GitHub
commit fb730eef35
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -108,7 +108,8 @@ class HyperPayController(http.Controller):
url = live_domain
else:
url = test_domain
url += f'/{post.get('resourcePath')}?entityId={acq.hyperpay_merchant_id}'
resource_path = post.get("resourcePath")
url += f'/{resource_path}?entityId={acq.hyperpay_merchant_id}'
headers = {
"Authorization": "Bearer " + acq.hyperpay_authorization,
}