migrate to esm
This commit is contained in:
1 parent
c2e00375c1
commit
f057807b56
52 files changed
+296
-302
No files matched your search
@@ -1,4 +1,4 @@
|
||||
const AppSettings = require("../../models/AppSettings");
|
||||
import AppSettings from "../../models/AppSettings.js";
|
||||
const SERVICE_NAME = "SettingsModule";
|
||||
|
||||
const getAppSettings = async () => {
|
||||
@@ -27,7 +27,4 @@ const updateAppSettings = async (newSettings) => {
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
getAppSettings,
|
||||
updateAppSettings,
|
||||
};
|
||||
export { getAppSettings, updateAppSettings };
|
||||
Reference in new issue
Block a user