fix: use graceful filtering for previously hard failing blocked users in team events (#26446)
* init * typefix * -- * fix test * update index * cleanup * rm unnecessary comments * improvements * add tests * test fixes * fixes * fixes * fixes * add try catch to make booking fail-open * Update packages/features/watchlist/operations/check-user-blocking.ts Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com> * fix type --------- Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
27623926fc
commit
59fca85d92
20 files changed
+1573
-37
No files matched your search
@@ -1178,6 +1178,7 @@ export class UserRepository {
|
||||
return this.prismaClient.user.findMany({
|
||||
where,
|
||||
select: {
|
||||
locked: true,
|
||||
allowDynamicBooking: true,
|
||||
...availabilityUserSelect,
|
||||
credentials: {
|
||||
|
||||
Reference in new issue
Block a user