diff --git a/backend/src/services/database/utils.ts b/backend/src/services/database/utils.ts index da537f03..dae0599e 100644 --- a/backend/src/services/database/utils.ts +++ b/backend/src/services/database/utils.ts @@ -51,9 +51,7 @@ export class WrappedRepository { return this.repository.count(options) } - countBy( - where: FindOptionsWhere | FindOptionsWhere[], - ): Promise { + countBy(where: FindOptionsWhere): Promise { return this.repository.countBy(where) } @@ -61,9 +59,7 @@ export class WrappedRepository { return this.repository.find(options) } - findBy( - where: FindOptionsWhere | FindOptionsWhere[], - ): Promise { + findBy(where: FindOptionsWhere): Promise { return this.repository.findBy(where) } @@ -71,9 +67,7 @@ export class WrappedRepository { return this.repository.findOne(options) } - findOneBy( - where: FindOptionsWhere | FindOptionsWhere[], - ): Promise { + findOneBy(where: FindOptionsWhere): Promise { return this.repository.findOneBy(where) }