ref #6085 remove console options
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Carlos Satorres 2023-12-11 09:43:38 +01:00
parent 1b78c6dfa7
commit 57ed36cdfc
1 changed files with 1 additions and 3 deletions

View File

@ -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');
} }
}; };