diff --git a/mods/bbs_list.js b/mods/bbs_list.js index 07af017c..ec964a36 100644 --- a/mods/bbs_list.js +++ b/mods/bbs_list.js @@ -3,10 +3,12 @@ // ENiGMA½ const MenuModule = require('../core/menu_module.js').MenuModule; + const { getModDatabasePath, getTransactionDatabase -} = require('../core/database.js').getModDatabasePath; +} = require('../core/database.js'); + const ViewController = require('../core/view_controller.js').ViewController; const ansi = require('../core/ansi_term.js'); const theme = require('../core/theme.js'); diff --git a/mods/onelinerz.js b/mods/onelinerz.js index 49ecd3db..065c0a30 100644 --- a/mods/onelinerz.js +++ b/mods/onelinerz.js @@ -3,10 +3,12 @@ // ENiGMA½ const MenuModule = require('../core/menu_module.js').MenuModule; -const { + +const { getModDatabasePath, getTransactionDatabase -} = require('../core/database.js').getModDatabasePath; +} = require('../core/database.js'); + const ViewController = require('../core/view_controller.js').ViewController; const theme = require('../core/theme.js'); const ansi = require('../core/ansi_term.js');