@tomei/sso 0.29.0 → 0.29.1

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.29.0",
3
+ "version": "0.29.1",
4
4
  "description": "Tomei SSO Package",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -2080,13 +2080,13 @@ export class LoginUser extends LoginUserBase {
2080
2080
  await LoginUser._UserGroupRepo.update(
2081
2081
  {
2082
2082
  GroupCode: data.BuildingCode,
2083
+ UpdatedAt: new Date(),
2084
+ UpdatedById: loginUser.UserId,
2083
2085
  },
2084
2086
  {
2085
2087
  where: {
2086
2088
  UserId: this.UserId,
2087
2089
  GroupCode: userBuilding.GroupCode,
2088
- UpdatedAt: new Date(),
2089
- UpdatedById: loginUser.UserId,
2090
2090
  },
2091
2091
  transaction: dbTransaction,
2092
2092
  },
@@ -2149,13 +2149,13 @@ export class LoginUser extends LoginUserBase {
2149
2149
  await LoginUser._UserGroupRepo.update(
2150
2150
  {
2151
2151
  GroupCode: data.CompanyCode,
2152
+ UpdatedAt: new Date(),
2153
+ UpdatedById: loginUser.UserId,
2152
2154
  },
2153
2155
  {
2154
2156
  where: {
2155
2157
  UserId: this.UserId,
2156
2158
  GroupCode: userCompany.GroupCode,
2157
- UpdatedAt: new Date(),
2158
- UpdatedById: loginUser.UserId,
2159
2159
  },
2160
2160
  transaction: dbTransaction,
2161
2161
  },
@@ -2218,13 +2218,13 @@ export class LoginUser extends LoginUserBase {
2218
2218
  await LoginUser._UserGroupRepo.update(
2219
2219
  {
2220
2220
  GroupCode: data.DepartmentCode,
2221
+ UpdatedAt: new Date(),
2222
+ UpdatedById: loginUser.UserId,
2221
2223
  },
2222
2224
  {
2223
2225
  where: {
2224
2226
  UserId: this.UserId,
2225
2227
  GroupCode: userDepartment.GroupCode,
2226
- UpdatedAt: new Date(),
2227
- UpdatedById: loginUser.UserId,
2228
2228
  },
2229
2229
  transaction: dbTransaction,
2230
2230
  },