From 8665bd74a25bc011b12890021a266edfa5e6b8db Mon Sep 17 00:00:00 2001 From: horatio Date: Fri, 7 Jun 2024 11:15:08 -0400 Subject: [PATCH] 298 Removed undefined as option for findMany from: - land-use.repository - boroughs.repository Closes #298 modified: src/land-use/land-use.repository.ts --- src/borough/borough.repository.ts | 2 +- src/land-use/land-use.repository.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/borough/borough.repository.ts b/src/borough/borough.repository.ts index bd1f5a5e..27d69bce 100644 --- a/src/borough/borough.repository.ts +++ b/src/borough/borough.repository.ts @@ -34,7 +34,7 @@ export class BoroughRepository { } } - async findMany(): Promise { + async findMany(): Promise { try { return await this.db.query.borough.findMany(); } catch { diff --git a/src/land-use/land-use.repository.ts b/src/land-use/land-use.repository.ts index 8ef51b97..3d1e489d 100644 --- a/src/land-use/land-use.repository.ts +++ b/src/land-use/land-use.repository.ts @@ -9,7 +9,7 @@ export class LandUseRepository { private readonly db: DbType, ) {} - async findMany(): Promise { + async findMany(): Promise { try { return await this.db.query.landUse.findMany(); } catch {