diff --git a/packages/api/src/repository/Feed.ts b/packages/api/src/repository/Feed.ts index 4e97a9c1..93b67085 100644 --- a/packages/api/src/repository/Feed.ts +++ b/packages/api/src/repository/Feed.ts @@ -77,7 +77,7 @@ export class FeedRepository { } public getTotalCount (): Promise { - return this.collection.count() + return this.collection.countDocuments() } private normalizeId (feed: FeedDbObject): FeedDbObjectNormalized | null {