Skip to content

Commit 0cb3dc8

Browse files
kirsteinvojtajina
authored andcommitted
docs($http): added return to interceptors success callback
1 parent dfd95f0 commit 0cb3dc8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/ng/http.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,7 @@ function $HttpProvider() {
291291
* return function(promise) {
292292
* return promise.then(function(response) {
293293
* // do something on success
294+
* return response;
294295
* }, function(response) {
295296
* // do something on error
296297
* if (canRecover(response)) {

0 commit comments

Comments
 (0)