Merge pull request #52 from mckamey/patch-1

Also fixed in swagger.js @ 539a7dcefa
This commit is contained in:
Ayush Gupta
2012-08-28 04:50:16 -07:00

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);
});
}
}