fix(core): Fix user telemetry bugs (#10293)

This commit is contained in:
Iván Ovejero
2024-08-05 13:24:26 +02:00
committed by GitHub
parent 7fb3f62a36
commit 42a0b594d6
4 changed files with 64 additions and 3 deletions

View File

@@ -292,7 +292,7 @@ export class UsersController {
this.eventService.emit('user-changed-role', {
userId: req.user.id,
targetUserId: targetUser.id,
targetUserNewRole: ['global', payload.newRoleName].join(' '),
targetUserNewRole: payload.newRoleName,
publicApi: false,
});