diff --git a/src/helpers.js b/src/helpers.js index 89690b1..44d9612 100644 --- a/src/helpers.js +++ b/src/helpers.js @@ -8,19 +8,20 @@ const hash = require("hash.js"); const Authenticator = require("otplib").authenticator.Authenticator; const BrowserpassURL = require("@browserpass/url"); +const SettingScope = { + // query a setting first from the login, then the store, then globally + Login: "login", + // query a setting first from the store, then globally + Store: "store", +}; + module.exports = { prepareLogins, filterSortLogins, getSetting, ignoreFiles, makeTOTP, -}; - -const SettingScope = { - // query a setting first from the login, then the store, then globally - Login: "login", - // query a setting first from the store, then globally - Store: "store", + SettingScope, }; //----------------------------------- Function definitions ----------------------------------//