ref #6085 remove console options
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
1b78c6dfa7
commit
57ed36cdfc
|
@ -26,8 +26,7 @@ module.exports = Self => {
|
||||||
|
|
||||||
const myOptions = {};
|
const myOptions = {};
|
||||||
|
|
||||||
if (typeof options == 'object')
|
Object.assign(myOptions);
|
||||||
Object.assign(myOptions, options);
|
|
||||||
|
|
||||||
const roles = await models.RoleMapping.find({
|
const roles = await models.RoleMapping.find({
|
||||||
fields: ['roleId'],
|
fields: ['roleId'],
|
||||||
|
@ -45,7 +44,6 @@ module.exports = Self => {
|
||||||
}
|
}
|
||||||
}, myOptions);
|
}, myOptions);
|
||||||
|
|
||||||
console.log(availableMailAlias);
|
|
||||||
if (!availableMailAlias.length) throw new UserError('The alias cant be modified');
|
if (!availableMailAlias.length) throw new UserError('The alias cant be modified');
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue