Skip to content

Commit 0f3adec

Browse files
pkozlowski-opensourcecaitp
authored andcommitted
refactor($http): simplify buildUrl function
Closes angular#8955
1 parent e322cd9 commit 0f3adec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ng/http.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1060,7 +1060,7 @@ function $HttpProvider() {
10601060
if (isObject(v)) {
10611061
if (isDate(v)){
10621062
v = v.toISOString();
1063-
} else if (isObject(v)) {
1063+
} else {
10641064
v = toJson(v);
10651065
}
10661066
}

0 commit comments

Comments
 (0)