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

Commit 992101d

Browse files
pkozlowski-opensourcecaitp
authored andcommitted
refactor($http): simplify buildUrl function
Closes #8955
1 parent 47f42ec commit 992101d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ng/http.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1048,7 +1048,7 @@ function $HttpProvider() {
10481048
if (isObject(v)) {
10491049
if (isDate(v)){
10501050
v = v.toISOString();
1051-
} else if (isObject(v)) {
1051+
} else {
10521052
v = toJson(v);
10531053
}
10541054
}

0 commit comments

Comments
 (0)