Skip to content

Commit 130919c

Browse files
committed
shouldn't call json stringify for sql request data
1 parent ade48c3 commit 130919c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/slicer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
req.onerror = function() {
4040
reject(Error("Network Error"));
4141
};
42-
req.send(JSON.stringify(data));
42+
req.send(sql ? data : JSON.stringify(data));
4343
});
4444
}
4545
}

0 commit comments

Comments
 (0)