diff --git a/apps/api/src/app/template/usecases/get-templates/get-templates.usecase.ts b/apps/api/src/app/template/usecases/get-templates/get-templates.usecase.ts index 5589f1bbe..4e0cba7d5 100644 --- a/apps/api/src/app/template/usecases/get-templates/get-templates.usecase.ts +++ b/apps/api/src/app/template/usecases/get-templates/get-templates.usecase.ts @@ -6,8 +6,8 @@ import { TemplateResponseDto } from '../../dtos/template-response.dto'; export class GetTemplates { constructor(private templateRepository: TemplateRepository) {} - async execute(projectId: string): Promise { - const templates = await this.templateRepository.find({ projectId }); + async execute(_projectId: string): Promise { + const templates = await this.templateRepository.find({ _projectId }); return templates.map((template) => ({ _projectId: template._projectId,