Skip to content

Commit

Permalink
Merge branch 'dev' into l10n_dev
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiakhq[bot] authored Feb 20, 2024
2 parents 4cefddf + 6c9adde commit f47c6ce
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const whereId = (input: TForContactInfoSchema, isSingleLoc?: boolean): Prisma.Or
// }
}
case isIdFor('orgLocation', input.parentId): {
return { locations: { every: { location: { id: input.parentId, ...isPublic } } } }
return { locations: { some: { location: { id: input.parentId, ...isPublic } } } }
}

default: {
Expand Down

0 comments on commit f47c6ce

Please sign in to comment.