Skip to content

Commit 2d39f81

Browse files
author
Andre Turner
committed
removed references to engagement rules file
1 parent 7e14e5f commit 2d39f81

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

src/components/engagement/engagement.service.ts

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ import {
4646
EngagementRepository,
4747
LanguageOrEngagementId,
4848
} from './engagement.repository';
49-
//import { EngagementRules } from './engagement.rules';
5049
import {
5150
EngagementCreatedEvent,
5251
EngagementUpdatedEvent,
@@ -63,7 +62,6 @@ export class EngagementService {
6362
private readonly products: ProductService & {},
6463
private readonly config: ConfigService,
6564
private readonly files: FileService,
66-
//private readonly engagementRules: EngagementRules,
6765
private readonly engagementWorkflow: EngagementWorkflowService,
6866
private readonly privileges: Privileges,
6967
@Inject(forwardRef(() => ProjectService))
@@ -265,14 +263,6 @@ export class EngagementService {
265263
await this.verifyFirstScripture({ engagementId: input.id });
266264
}
267265

268-
// if (input.status) {
269-
// await this.engagementWorkflow.verifyStatusChange(
270-
// input.id,
271-
// session,
272-
// input.status,
273-
// );
274-
// }
275-
276266
const previous = await this.repo.readOne(input.id, session, view);
277267
const object = (await this.secure(previous, session)) as LanguageEngagement;
278268

@@ -317,14 +307,6 @@ export class EngagementService {
317307
changeset?: ID,
318308
): Promise<InternshipEngagement> {
319309
const view: ObjectView = viewOfChangeset(changeset);
320-
// if (input.status) {
321-
// await this.engagementWorkflow.verifyStatusChange(
322-
// input.id,
323-
// session,
324-
// input.status,
325-
// changeset,
326-
// );
327-
// }
328310

329311
const previous = await this.repo.readOne(input.id, session, view);
330312
const object = (await this.secure(

0 commit comments

Comments
 (0)