Commit 4daf69632d1a3d106bbeddf8b873b48e8638145d

Authored by Adhidarma Hadiwinoto
1 parent 233ce148e4
Exists in master

hapus kelebihan /

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -67,7 +67,7 @@ function _hitTopup(task, isCheckStatus) {
67 67 }
68 68  
69 69 const requestOptions = {
70   - url: config.h2h_out.partner + createUrlPath(pathParams)
  70 + url: config.h2h_out.partner.replace(/\/+$/, '') + '/' + createUrlPath(pathParams).replace(/^\/+/, '')
71 71 }
72 72  
73 73 logger.verbose('Requeting to partner', {requestOptions: requestOptions});