Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit f757f86

Browse files
kirsteinvojtajina
authored andcommitted
docs($http): added return to interceptors success callback
1 parent 96bbf72 commit f757f86

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ng/http.js

+1
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,7 @@ function $HttpProvider() {
412412
* return function(promise) {
413413
* return promise.then(function(response) {
414414
* // do something on success
415+
* return response;
415416
* }, function(response) {
416417
* // do something on error
417418
* if (canRecover(response)) {

0 commit comments

Comments
 (0)