Merge branch 'dev' of https://gitea.verdnatura.es/verdnatura/salix into 3638-export_database
This commit is contained in:
commit
7aa6601ec1
|
@ -1,6 +1,10 @@
|
|||
|
||||
module.exports = Self => {
|
||||
Self.getSynchronizer = async function() {
|
||||
let NODE_ENV = process.env.NODE_ENV;
|
||||
if (!NODE_ENV || NODE_ENV == 'development')
|
||||
return null;
|
||||
|
||||
return await Self.findOne({
|
||||
fields: ['id', 'rolePrefix', 'userPrefix', 'userHost']
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue