add MiUserProfile.defaultCW property and API
This commit is contained in:
@@ -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 ? {
|
||||
|
||||
Reference in New Issue
Block a user