From 7d1919f080c02947cd57a2dda796c3d3dff50cae Mon Sep 17 00:00:00 2001 From: Sokratis Vidros Date: Fri, 8 Nov 2024 13:01:01 +0200 Subject: [PATCH] fix(api): Fix build failure due to accidental property deletion --- libs/dal/src/repositories/subscriber/subscriber.repository.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libs/dal/src/repositories/subscriber/subscriber.repository.ts b/libs/dal/src/repositories/subscriber/subscriber.repository.ts index ddf295c28fa..3a7cb677610 100644 --- a/libs/dal/src/repositories/subscriber/subscriber.repository.ts +++ b/libs/dal/src/repositories/subscriber/subscriber.repository.ts @@ -12,7 +12,6 @@ type SubscriberQuery = FilterQuery & EnforceEnvOrOrgIds; export class SubscriberRepository extends BaseRepository { constructor() { super(Subscriber, SubscriberEntity); - this.subscriber = Subscriber; } async findBySubscriberId( @@ -153,7 +152,7 @@ export class SubscriberRepository extends BaseRepository { - return this.subscriber.estimatedDocumentCount(); + return this._model.estimatedDocumentCount(); } }