Fixes a bug with the "Try It" functions, the API endpoint path being generated had an extra colon #28

Closed
wants to merge 1 commit into
from
View
3 app.js
@@ -395,7 +395,8 @@ function processRequest(req, res, next) {
null,
apiConfig.oauth.crypt);
- var resource = options.protocol + '://' + options.host + options.path,
+ // options.protocol already has a colon (:) appended to it on line 313
+ var resource = options.protocol + '//' + options.host + options.path,
cb = function(error, data, response) {
if (error) {
if (error.data == 'Server Error' || error.data == '') {