@punks/backend-entity-manager 0.0.116 → 0.0.117

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/index.js CHANGED
@@ -2496,11 +2496,7 @@ let AuthGuard = AuthGuard_1 = class AuthGuard {
2496
2496
  id: user.id,
2497
2497
  userName: user.userName,
2498
2498
  email: user.email,
2499
- roles: roles?.map((role) => ({
2500
- id: role.id,
2501
- name: role.name,
2502
- uid: role.uid,
2503
- })),
2499
+ roles: roles?.map((role) => role.uid),
2504
2500
  },
2505
2501
  }
2506
2502
  : {}),