@tomei/sso 0.46.3 → 0.46.5

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tomei/sso",
3
- "version": "0.46.3",
3
+ "version": "0.46.5",
4
4
  "description": "Tomei SSO Package",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -139,7 +139,7 @@ export class UserSystemAccess extends ObjectBase {
139
139
  include: [
140
140
  {
141
141
  model: SystemModel,
142
- attributes: ['SystemName', 'SystemCode'],
142
+ attributes: ['Name', 'SystemCode'],
143
143
  },
144
144
  {
145
145
  model: UserModel,
@@ -162,9 +162,9 @@ export class UserSystemAccess extends ObjectBase {
162
162
  SystemName: userSystemAccess.System.Name,
163
163
  SystemCode: userSystemAccess.System.SystemCode,
164
164
  Status: userSystemAccess.Status,
165
- CreatedBy: userSystemAccess.CreatedByUser.FullName,
165
+ CreatedBy: userSystemAccess.CreatedBy.FullName,
166
166
  CreatedAt: userSystemAccess.CreatedAt,
167
- UpdatedBy: userSystemAccess.UpdatedByUser.FullName,
167
+ UpdatedBy: userSystemAccess.UpdatedBy.FullName,
168
168
  UpdatedAt: userSystemAccess.UpdatedAt,
169
169
  };
170
170
  }),
@@ -77,11 +77,11 @@ export default class UserSystemAccessModel extends Model {
77
77
  foreignKey: 'CreatedById',
78
78
  as: 'CreatedBy',
79
79
  })
80
- CreatedByUser: User;
80
+ CreatedBy: User;
81
81
 
82
82
  @BelongsTo(() => User, {
83
83
  foreignKey: 'UpdatedById',
84
84
  as: 'UpdatedBy',
85
85
  })
86
- UpdatedByUser: User;
86
+ UpdatedBy: User;
87
87
  }