refs #5648 create vn-confirm #1508

Merged
carlossa merged 12 commits from 5648-sureClaim into dev 2023-05-23 07:00:14 +00:00
1 changed files with 1 additions and 7 deletions
Showing only changes of commit fb4697e8fa - Show all commits

View File

@ -23,13 +23,7 @@ module.exports = Self => {
let models = Self.app.models;
let user = await Self.findById(userId, {
fields: ['id', 'name', 'nickname', 'email', 'lang'],
include: {
relation: 'userConfig',
scope: {
fields: ['darkMode']
}
}
fields: ['id', 'name', 'nickname', 'email', 'lang']
});
let roles = await models.RoleMapping.find({