We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f22e970 commit 98ff46dCopy full SHA for 98ff46d
packages/property-base/src/adapters/parking-spaces-adapter.ts
@@ -68,7 +68,7 @@ export async function getParkingSpaceByRentalPropertyId(
68
})
69
70
// Don't return anything if no parking space is found in the data..
71
- if (propertyStructureResponse?.parkingSpace === null) return null
+ if (!propertyStructureResponse?.parkingSpace) return null
72
73
// Fetch the address associated with the parking space
74
const addressResponse = await prisma.address.findFirst({
0 commit comments