FIX: send correct name and email from user payload

This commit is contained in:
marcos-silva-rodrigues
2026-03-19 14:35:14 -03:00
parent c26194554c
commit 2e3a13d421
3 changed files with 4 additions and 1 deletions
+2 -1
View File
@@ -437,7 +437,8 @@ export class AuthClientService implements OnModuleInit {
const userDto: UserDTO = {
id: user.id,
name: user.username,
name: user.name,
email: user.email,
jobTitle: user?.jobTitle || null,
department: user?.department || null,
hierarchy: user?.hierarchy || null,