[FIX] syntax error

This commit is contained in:
Abdurrahman Saber 2025-12-23 18:50:40 +04:00
parent a8ae394fcf
commit 75bb388bf8
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,
}