Commit 5f881b0a757c7a60645f46fa7330cc46607896bc
1 parent
b2d7e7957d
Exists in
master
support advice url
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
partner-bnisp.js
... | ... | @@ -147,7 +147,7 @@ function topupAdvice(task) { |
147 | 147 | } |
148 | 148 | |
149 | 149 | const requestOptions = { |
150 | - url: config.h2h_out.partner.replace(/\/+$/, '') + '/' + createUrlPathAdvice(pathParams).replace(/^\/+/, '') | |
150 | + url: (config.h2h_out.partner_advice || config.h2h_out.partner).replace(/\/+$/, '') + '/' + createUrlPathAdvice(pathParams).replace(/^\/+/, '') | |
151 | 151 | } |
152 | 152 | |
153 | 153 | logger.verbose('Requeting advice to partner', {requestOptions: requestOptions}); |