Skip to content

Commit

Permalink
fix(deps): remove sonar issues
Browse files Browse the repository at this point in the history
remove sonar issues

2126
  • Loading branch information
Tyagi-Sunny committed Jul 2, 2024
1 parent 563f2a4 commit 39cc81f
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions services/task-service/src/commands/create-task.ts
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
import {Context} from '@loopback/core';
import { Context } from '@loopback/core';
import {
ExecuteWorkflowDto,
WorkflowController,
WorkflowRepository,
} from '@sourceloop/bpmn-service';
import {ILogger, LOGGER} from '@sourceloop/core';
import {AuthenticationBindings} from 'loopback4-authentication';
import { ILogger, LOGGER } from '@sourceloop/core';
import { AuthenticationBindings } from 'loopback4-authentication';
import {
ICommand,
IEvent,
IOutgoingConnector,
IUserTaskService,
} from '../interfaces';
import {TaskServiceBindings} from '../keys';
import {Task} from '../models';
import {TaskRepository, TaskWorkFlowRepository} from '../repositories';
import {CamundaTaskParameters, EventType, Source, User} from '../types';
import { TaskServiceBindings } from '../keys';
import { Task } from '../models';
import { TaskRepository, TaskWorkFlowRepository } from '../repositories';
import { CamundaTaskParameters, EventType, Source, User } from '../types';

export class CreateTaskCommand implements ICommand {
topic = 'create-tasks';
Expand Down Expand Up @@ -44,7 +44,7 @@ export class CreateTaskCommand implements ICommand {
);
await outgoing.publish({
key: EventType.TaskCreated,
payload: {createdTasks},
payload: { createdTasks },
timestamp: Date.now(),
source: Source.TaskService,
});
Expand Down Expand Up @@ -141,7 +141,6 @@ export class CreateTaskCommand implements ICommand {
});
} else {
this.logger.debug(`No workflow found for key ${workflowKey}`);
return;
}
});
await Promise.all(promises);
Expand Down

0 comments on commit 39cc81f

Please sign in to comment.