Skip to content

Commit 8aeee18

Browse files
committed
Merge branch 'OhDavit-fix/allow_returning_0_false'
2 parents 1440532 + 429d083 commit 8aeee18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ module.exports = function (classes) {
212212

213213
response = {
214214
'jsonrpc': '2.0',
215-
'result': result || null
215+
'result': typeof(result) === 'undefined' ? null : result
216216
};
217217
}
218218

0 commit comments

Comments
 (0)