From 33ba9e5757b92aef89bdecfcf4310757834f3913 Mon Sep 17 00:00:00 2001 From: Stephen McKamey Date: Tue, 21 Aug 2012 19:38:36 -0700 Subject: [PATCH] Fixing typo --- lib/swagger.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/swagger.js b/lib/swagger.js index 68d8e40c..260607c5 100644 --- a/lib/swagger.js +++ b/lib/swagger.js @@ -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); }); } }