Skip to content

Commit

Permalink
Merge branch 'dev' into IN-945-service-edit-page
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiakhq[bot] authored Feb 20, 2024
2 parents 92a599a + 0e5f4e9 commit b1886dd
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,11 @@ export const forContactInfo = async ({ input }: TRPCHandlerParams<TForContactInf
})
: 0
const isSingleLoc = locCount === 1
console.log('location count', locCount)
const where = {
...isPublic,
...whereId(input, isSingleLoc),
...(input.locationOnly !== undefined ? { orgLocationOnly: input.locationOnly } : {}),
}
console.dir(where, { depth: 10 })

const result = await prisma.orgWebsite.findMany({
where,
Expand Down

0 comments on commit b1886dd

Please sign in to comment.