mirror of
https://github.com/janishutz/libreevent.git
synced 2026-09-22 13:15:25 +02:00
json db has major bug -> fix under way
This commit is contained in:
1 parent
9952566b6b
commit
97183cb304
3 files changed
+13
-5
No files matched your search
@@ -47,6 +47,7 @@ module.exports.getData = ( db ) => {
|
||||
};
|
||||
|
||||
module.exports.writeDataSimple = ( db, column, searchQuery, data ) => {
|
||||
console.log( 'writingData' );
|
||||
return new Promise( ( resolve, reject ) => {
|
||||
dbh.query( { 'command': 'checkDataAvailability', 'property': column, 'searchQuery': searchQuery }, dbRef[ db ] ).then( res => {
|
||||
if ( res.length > 0 ) {
|
||||
|
||||
Reference in new issue
Block a user