Skip to content

Commit d9a83b2

Browse files
authored
Update ShelterSearch.ts
removed null | 0 from shelterStatus filter when search for waiting status
1 parent e6578dd commit d9a83b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shelter/ShelterSearch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class ShelterSearch {
5454
ShelterStatus,
5555
Prisma.ShelterWhereInput['capacity'] | null
5656
> = {
57-
waiting: null || 0,
57+
waiting: null,
5858
available: {
5959
gt: this.prismaService.shelter.fields.shelteredPeople,
6060
},

0 commit comments

Comments
 (0)