rez_core 2.2.199 → 2.2.201

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.199",
3
+ "version": "2.2.201",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "private": false,
@@ -67,6 +67,8 @@ export class OtpController {
67
67
  const parser = new UAParser(userAgent);
68
68
  const browser = parser.getBrowser().name || 'Unknown';
69
69
  const os = parser.getOS().name || 'Unknown';
70
+
71
+ console.log('data', userAgent, parser, browser, os);
70
72
  return await this.otpService.verifyOtp({
71
73
  ...data,
72
74
  ip,
@@ -61,6 +61,8 @@ export class LoginService {
61
61
 
62
62
  let organization;
63
63
 
64
+ console.log('data', data);
65
+
64
66
  // 🔹 Step 1: If subdomain is provided, resolve the organization
65
67
  if (subdomain) {
66
68
  organization =
@@ -34,4 +34,7 @@ export class CommTemplate extends BaseEntity {
34
34
 
35
35
  @Column({ type: 'varchar', nullable: true })
36
36
  flag: string;
37
+
38
+ @Column({ type: 'varchar', nullable: true })
39
+ template_id: string;
37
40
  }
@@ -40,6 +40,8 @@ export class CommTemplateService extends EntityServiceImpl {
40
40
  async updateEntity(entityData: any, loggedInUser: UserData): Promise<any> {
41
41
  const { attachments, ...templateData } = entityData;
42
42
 
43
+ console.log('update for template hit', entityData, loggedInUser);
44
+
43
45
  if (
44
46
  loggedInUser.level_type === 'SCH' &&
45
47
  templateData.level_type === 'ORG'