From ad3154725795c3ddcb61da461cce617d7c979db1 Mon Sep 17 00:00:00 2001 From: zzhhaa Date: Fri, 13 Dec 2024 13:49:38 +0000 Subject: [PATCH] feat: remove not null guard in itlRepo since already required in schema --- app/data/itlRepo.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/data/itlRepo.ts b/app/data/itlRepo.ts index 656734a0..fadb0ba7 100644 --- a/app/data/itlRepo.ts +++ b/app/data/itlRepo.ts @@ -7,9 +7,6 @@ const getItl3ByPostcodeDistrict = async ( const { itl3 } = await prisma.itlLookup.findFirstOrThrow({ where: { postcode: postcodeDistrict, - itl3: { - not: null, - }, }, select: { itl3: true,