Skip to content

Commit

Permalink
fix(assignments-service): Make AssigneeService an EventRepository
Browse files Browse the repository at this point in the history
  • Loading branch information
Clashsoft committed Nov 17, 2023
1 parent c0dba36 commit 65df0cf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion services/apps/assignments/src/assignee/assignee.service.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {EventService, MongooseRepository} from '@mean-stream/nestx';
import {EventRepository, EventService, MongooseRepository} from '@mean-stream/nestx';
import {Injectable} from '@nestjs/common';
import {InjectModel} from '@nestjs/mongoose';
import {Model, Types} from 'mongoose';
Expand All @@ -7,6 +7,7 @@ import {Assignee, AssigneeDocument} from './assignee.schema';
import {BulkUpdateAssigneeDto} from "./assignee.dto";

@Injectable()
@EventRepository()
export class AssigneeService extends MongooseRepository<Assignee, never, AssigneeDocument> {
constructor(
@InjectModel(Assignee.name) public model: Model<Assignee, object, object, object, AssigneeDocument>,
Expand Down

0 comments on commit 65df0cf

Please sign in to comment.