Skip to content

Commit 71067a8

Browse files
committed
remove invalid ',' in json
1 parent cfa1406 commit 71067a8

2 files changed

Lines changed: 2 additions & 9 deletions

File tree

src/eventManager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ EventManager.prototype.subscribeTx = function(id, cb) {
3131

3232
var messageTx = {
3333
"command": "subscribe",
34-
"transaction": id,
34+
"transaction": id
3535
};
3636
if (!that.onMessage) {
3737
_onMessage(that);

src/index.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,6 @@ class ChainsqlAPI extends Submit {
3636
this.query = {};
3737
this.exec = '';
3838
this.token = '';
39-
this.perm = {
40-
insert: 'lsfInsert',
41-
delete: 'lsfDelete',
42-
update: 'lsfUpdate',
43-
select: 'lsfSelect',
44-
execute: 'lsfExecute'
45-
};
4639
this.transaction = false;
4740
this.schemaCreateTx = false;
4841
this.schemaModifyTx = false;
@@ -432,7 +425,7 @@ function modifyTable(ChainSQL,optype,name,raw){
432425
}
433426
}],
434427
raw: JSON.stringify(raw),
435-
tsType: 'TableListSet',
428+
tsType: 'TableListSet'
436429
};
437430

438431
return ChainSQL;

0 commit comments

Comments
 (0)