add more mysql stuff

This commit is contained in:
janishutz committed 2023-07-12 09:06:29 +02:00
1 parent 865141d945
commit fbedf9e95e
13 files changed
+105 -65

No files matched your search

+4
View File
@@ -16,6 +16,10 @@ module.exports.getData = function getData ( db, searchQuery ) {
} );
};
module.exports.writeData = function writeData ( db ) {
};
module.exports.getJSONData = function getData ( file ) {
return new Promise( ( resolve, reject ) => {
fs.readFile( path.join( __dirname + '/../../' + file ), ( error, data ) => {