Merge pull request #5801 from expsa/add_products_domain_inplace
[FIX] syntax error
This commit is contained in:
commit
fb730eef35
|
|
@ -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,
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue