Skip to content

Commit ab1ce51

Browse files
committed
fix exported JSON property names
1 parent 807503d commit ab1ce51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bindings.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ Module['exec'] = function(db, sql, callback) {
2121
var data = [];
2222
for (var i = 0; i < argc; i++) {
2323
data.push({
24-
column: Pointer_stringify(getValue(colNames + i*Runtime.QUANTUM_SIZE, 'i32')),
25-
value: Pointer_stringify(getValue(argv + i*Runtime.QUANTUM_SIZE, 'i32'))
24+
'column': Pointer_stringify(getValue(colNames + i*Runtime.QUANTUM_SIZE, 'i32')),
25+
'value': Pointer_stringify(getValue(argv + i*Runtime.QUANTUM_SIZE, 'i32'))
2626
});
2727
}
2828
callback(data);

0 commit comments

Comments
 (0)