add MiUserProfile.defaultCW property and API
This commit is contained in:
parent
8a087e75a5
commit
74407bc8ee
7 changed files with 47 additions and 3 deletions
|
|
@ -669,6 +669,7 @@ export class UserEntityService implements OnModuleInit {
|
|||
achievements: profile!.achievements,
|
||||
loggedInDays: profile!.loggedInDates.length,
|
||||
policies: this.roleService.getUserPolicies(user.id),
|
||||
defaultCW: profile?.defaultCW ?? null,
|
||||
} : {}),
|
||||
|
||||
...(opts.includeSecrets ? {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue