diff --git a/src/repositories/dumps/dump.repository.ts b/src/repositories/dumps/dump.repository.ts index 205f577..ba6d65e 100644 --- a/src/repositories/dumps/dump.repository.ts +++ b/src/repositories/dumps/dump.repository.ts @@ -1,7 +1,7 @@ import { InjectModel } from '@nestjs/mongoose'; import { Model } from 'mongoose'; import { Dump } from './schemas'; -import { UpdateDumpDto } from '../../admin/dto/update-dump.dto'; +import { UpdateDumpDto } from '../../admin/dto'; import { CreateDumpDto } from '../../admin/dto'; export class DumpRepository { diff --git a/src/repositories/reports/report.repository.ts b/src/repositories/reports/report.repository.ts index f1d3bc0..954de09 100644 --- a/src/repositories/reports/report.repository.ts +++ b/src/repositories/reports/report.repository.ts @@ -221,7 +221,7 @@ export class ReportRepository { updatedReport = await this.reportModel .findOneAndUpdate( { - refId: { eq: updateReport.refId }, + refId: { $eq: updateReport.refId }, }, { $set: {