rez_core 5.0.285 → 5.0.287

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": "5.0.285",
3
+ "version": "5.0.287",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "private": false,
@@ -1,4 +1,4 @@
1
- import { Injectable } from '@nestjs/common';
1
+ import { Inject, Injectable } from '@nestjs/common';
2
2
  import { EntityServiceImpl } from './entity-service-impl.service';
3
3
  import { BaseEntity } from '../entity/base-entity.entity';
4
4
  import { UserData } from '../../user/entity/user.entity';
@@ -12,6 +12,8 @@ import { ViewMaterRespository } from '../repository/view-master.repository';
12
12
  import { get } from 'http';
13
13
  import { ConfigService } from '@nestjs/config';
14
14
  import axios from 'axios';
15
+ import { IMicroserviceClients } from 'src/module/microservice-client/service/microservice-clients';
16
+ import { firstValueFrom } from 'rxjs';
15
17
  @Injectable()
16
18
  export class ViewMasterService extends EntityServiceImpl {
17
19
  constructor(
@@ -20,6 +22,8 @@ export class ViewMasterService extends EntityServiceImpl {
20
22
  private readonly viewMasterRepoService: ViewMaterRespository,
21
23
  private readonly dataSource: DataSource,
22
24
  private readonly configService: ConfigService,
25
+ @Inject('MICROSERVICE_CLIENT_FACTORY')
26
+ private readonly factory: IMicroserviceClients,
23
27
  ) {
24
28
  super();
25
29
  }
@@ -78,7 +78,9 @@ export class WorkflowAutomationService extends EntityServiceImpl {
78
78
  workflow_automation_id: number,
79
79
  ): Promise<WorkflowAutomationActionEntity[]> {
80
80
  return this.actionRepo.find({
81
- where: { workflow_automation_id },
81
+ where: { workflow_automation_id,
82
+ status: 'ACTIVE',
83
+ },
82
84
  });
83
85
  }
84
86