Skip to content

Commit fe767d9

Browse files
Fix angular 2 api base:
- "parse" now send "false" values, previously they was ignored
1 parent 08da87f commit fe767d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ApiBase/model-base.model.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export abstract class ModelBase {
4848
params = params.json();
4949
}
5050
for (const paramKey in params) {
51-
if (!params[paramKey]) {
51+
if (params[paramKey] === null || params[paramKey] === undefined) {
5252
continue;
5353
}
5454
const paramValue = params[paramKey];

0 commit comments

Comments
 (0)