Merge pull request #52 from mckamey/patch-1

Also fixed in swagger.js @ https://github.com/wordnik/swagger.js/commit/539a7dcefa395117afc28b3b0eefbc2055dd00f8
This commit is contained in:
Ayush Gupta
2012-08-28 04:50:16 -07:00
+1 -1
View File
@@ -193,7 +193,7 @@
_this.ready = true;
return _this.api.selfReflect();
}).error(function(error) {
return _this.fail(error.status + ' : ' + error.statusText + ' ' + _this.url);
return _this.api.fail(error.status + ' : ' + error.statusText + ' ' + _this.url);
});
}
}