From 65df0cfa28f0c48c826c1c9640dfb75670357346 Mon Sep 17 00:00:00 2001 From: Adrian Kunz Date: Fri, 17 Nov 2023 17:30:21 +0100 Subject: [PATCH] fix(assignments-service): Make AssigneeService an EventRepository --- services/apps/assignments/src/assignee/assignee.service.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/apps/assignments/src/assignee/assignee.service.ts b/services/apps/assignments/src/assignee/assignee.service.ts index b2ab86b6..0eae0f1d 100644 --- a/services/apps/assignments/src/assignee/assignee.service.ts +++ b/services/apps/assignments/src/assignee/assignee.service.ts @@ -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'; @@ -7,6 +7,7 @@ import {Assignee, AssigneeDocument} from './assignee.schema'; import {BulkUpdateAssigneeDto} from "./assignee.dto"; @Injectable() +@EventRepository() export class AssigneeService extends MongooseRepository { constructor( @InjectModel(Assignee.name) public model: Model,