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 = {};
|
||||
|
||||
if (typeof options == 'object')
|
||||
Object.assign(myOptions, options);
|
||||
Object.assign(myOptions);
|
||||
|
||||
const roles = await models.RoleMapping.find({
|
||||
fields: ['roleId'],
|
||||
|
@ -45,7 +44,6 @@ module.exports = Self => {
|
|||
}
|
||||
}, myOptions);
|
||||
|
||||
console.log(availableMailAlias);
|
||||
if (!availableMailAlias.length) throw new UserError('The alias cant be modified');
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue