@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/cjs/index.js CHANGED
@@ -2504,11 +2504,7 @@ exports.AuthGuard = AuthGuard_1 = class AuthGuard {
2504
2504
  id: user.id,
2505
2505
  userName: user.userName,
2506
2506
  email: user.email,
2507
- roles: roles?.map((role) => ({
2508
- id: role.id,
2509
- name: role.name,
2510
- uid: role.uid,
2511
- })),
2507
+ roles: roles?.map((role) => role.uid),
2512
2508
  },
2513
2509
  }
2514
2510
  : {}),