rez_core 2.2.217 → 2.2.219

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rez_core",
3
- "version": "2.2.217",
3
+ "version": "2.2.219",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "private": false,
@@ -14,7 +14,6 @@ export class GoogleStrategy extends PassportStrategy(Strategy, 'google') {
14
14
  'openid',
15
15
  'email',
16
16
  'profile',
17
- 'https://www.googleapis.com/auth/gmail.send',
18
17
  ],
19
18
  accessType: 'offline', // good: gets refresh_token on first consent
20
19
  includeGrantedScopes: true, // optional, keeps prior grants
@@ -158,7 +158,7 @@ export class LoginController {
158
158
  const { accessToken, appcode } = data;
159
159
  if (profile && profile === 'dev') {
160
160
  return res.redirect(
161
- `${this.configService.get('FE_URL')}/auth?token=${accessToken}&appcode=${appcode}`,
161
+ `${this.configService.get('DOMAIN_URL')}/auth?token=${accessToken}&appcode=${appcode}`,
162
162
  );
163
163
  } else {
164
164
  if (data.slug) {
@@ -169,7 +169,7 @@ export class LoginController {
169
169
  }
170
170
 
171
171
  return res.redirect(
172
- `${this.configService.get('BASE_URL')}/auth?token=${accessToken}&appcode=${appcode}`,
172
+ `${this.configService.get('DOMAIN_URL')}/auth?token=${accessToken}&appcode=${appcode}`,
173
173
  );
174
174
  }
175
175
 
@@ -62,6 +62,8 @@ export class TaskRepository {
62
62
  user_id: loggedInUser.id,
63
63
  action_id: act.id,
64
64
  organization_id: loggedInUser.organization_id,
65
+ level_type: loggedInUser.level_type,
66
+ level_id: loggedInUser.level_id,
65
67
  name: act.name,
66
68
  sequence: act.sequence,
67
69
  is_mandatory: is_mandatory[0]?.code === 'mandatory' ? true : false,
@@ -8,10 +8,9 @@ DB_NAME: 'package_core'
8
8
  MASTER_KEY: '0QZ2eRJv5oVILYnyBlC+FbSGVQiWKReh'
9
9
  MASTER_IV: 'heuUQf5uPVtkotrFAOKUVw=='
10
10
  SECRET_KEY: '1hard_to_guess_secret7890a'
11
- CLIENT_ID: '819281384645-2tnuvm80sul1n2ahqa4eg6kjd19pnbu9.apps.googleusercontent.com'
12
- CLIENT_SECRET: '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'
11
+ CLIENT_ID: '324529881356-596sc8ksrb9lg01i7sktofqqqf0fv2ug.apps.googleusercontent.com'
12
+ CLIENT_SECRET: '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'
13
13
  CALLBACK_URL: 'http://localhost:5001/auth/google/callback'
14
- FE_URL: 'http://localhost:3000'
15
14
  BASE_URL: 'http://localhost:5001'
16
15
  DOMAIN_URL: 'rezolut.in'
17
16
  OTP_EXPIRY: '10'