Skip to content

Commit

Permalink
feat: remove not null guard in itlRepo
Browse files Browse the repository at this point in the history
since already required in schema
  • Loading branch information
zz-hh-aa committed Dec 13, 2024
1 parent 427e060 commit ad31547
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/data/itlRepo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ const getItl3ByPostcodeDistrict = async (
const { itl3 } = await prisma.itlLookup.findFirstOrThrow({
where: {
postcode: postcodeDistrict,
itl3: {
not: null,
},
},
select: {
itl3: true,
Expand Down

0 comments on commit ad31547

Please sign in to comment.