aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md1
-rw-r--r--src/service/xhr.error.js2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index bb3c47ae..ad75e65d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -70,6 +70,7 @@
Angular with
[Unicode Technical Standard #35](http://unicode.org/reports/tr35/#Date_Format_Patterns) used by
Closure, as well as, future DOM apis currently being proposed to w3c.
+- `$xhr.error`'s `request` argument has no `callback` property anymore, use `success` instead
diff --git a/src/service/xhr.error.js b/src/service/xhr.error.js
index 5dd7983b..0ff6de1c 100644
--- a/src/service/xhr.error.js
+++ b/src/service/xhr.error.js
@@ -19,7 +19,7 @@
* - `method` – `{string}` – The http request method.
* - `url` – `{string}` – The request destination.
* - `data` – `{(string|Object)=} – An optional request body.
- * - `callback` – `{function()}` – The callback function
+ * - `success` – `{function()}` – The success callback function
*
* @param {Object} response Response object.
*