Skip to content

Commit

Permalink
Merge pull request #3 from AplinkosMinisterija/equal-fix
Browse files Browse the repository at this point in the history
Equal operator bug fix
  • Loading branch information
Ignas-rgb authored Feb 13, 2024
2 parents 2009b75 + 33dff6a commit b8f2df4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/repositories/dumps/dump.repository.ts
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/repositories/reports/report.repository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ export class ReportRepository {
updatedReport = await this.reportModel
.findOneAndUpdate(
{
refId: { eq: updateReport.refId },
refId: { $eq: updateReport.refId },
},
{
$set: {
Expand Down

0 comments on commit b8f2df4

Please sign in to comment.