aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/pods.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/pods.js')
-rw-r--r--src/pods.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pods.js b/src/pods.js
index 30d465ee5..db159a466 100644
--- a/src/pods.js
+++ b/src/pods.js
@@ -18,7 +18,7 @@
18 // ----------- Private functions ----------- 18 // ----------- Private functions -----------
19 19
20 function getForeignPodsList (url, callback) { 20 function getForeignPodsList (url, callback) {
21 var path = '/api/pods' 21 var path = '/api/' + global.API_VERSION + '/pods'
22 22
23 request.get(url + path, function (err, response, body) { 23 request.get(url + path, function (err, response, body) {
24 if (err) throw err 24 if (err) throw err
@@ -143,7 +143,7 @@
143 logger.debug('Make requests...') 143 logger.debug('Make requests...')
144 144
145 utils.makeMultipleRetryRequest( 145 utils.makeMultipleRetryRequest(
146 { method: 'POST', path: '/api/pods/', data: data }, 146 { method: 'POST', path: '/api/' + global.API_VERSION + '/pods/', data: data },
147 147
148 pods_list, 148 pods_list,
149 149