diff --git a/scripts/src/commands/load/all.ts b/scripts/src/commands/load/all.ts index a957b73..531e0c7 100644 --- a/scripts/src/commands/load/all.ts +++ b/scripts/src/commands/load/all.ts @@ -118,8 +118,6 @@ export default class LoadDatabase extends Command { return serviceMap.get(id); }); - - // Update the service await this.client ?.db() diff --git a/src/job/job.service.ts b/src/job/job.service.ts index 4e91e0f..c678961 100644 --- a/src/job/job.service.ts +++ b/src/job/job.service.ts @@ -1,4 +1,4 @@ -import { Injectable, Logger } from '@nestjs/common'; +import { Injectable } from '@nestjs/common'; import { InjectModel } from '@nestjs/mongoose'; import { Job, JobDocument, JobState } from './job.model'; import { Model } from 'mongoose'; diff --git a/src/reset/reset.resolver.ts b/src/reset/reset.resolver.ts index 3da19da..f4a93fd 100644 --- a/src/reset/reset.resolver.ts +++ b/src/reset/reset.resolver.ts @@ -3,7 +3,6 @@ import { CategoryInput } from './dtos/category.dto'; import { ServiceInput } from './dtos/service.dto'; import { BundleInput } from './dtos/bundle.dto'; import { ResetService } from './reset.service'; -import { Logger } from '@nestjs/common'; @Resolver() export class ResetResolver { diff --git a/src/workflow/workflow.service.ts b/src/workflow/workflow.service.ts index 3171005..1eb2e5c 100644 --- a/src/workflow/workflow.service.ts +++ b/src/workflow/workflow.service.ts @@ -1,4 +1,4 @@ -import { Injectable, Logger } from '@nestjs/common'; +import { Injectable } from '@nestjs/common'; import { InjectModel } from '@nestjs/mongoose'; import mongoose, { Model } from 'mongoose'; import { Workflow, WorkflowDocument, WorkflowState } from './models/workflow.model'; @@ -16,8 +16,6 @@ export class WorkflowService { async create(createWorkflowInput: AddWorkflowInputFull): Promise { - Logger.log(`Created workflow, ${createWorkflowInput}`); - // Make the nodes const nodes = await Promise.all(createWorkflowInput.nodes.map((node) => this.nodeService.create(node)));