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
@@ -1325,6 +1325,7 @@ export class EventTypeRepository {
|
||||
team: {
|
||||
select: {
|
||||
id: true,
|
||||
parentId: true,
|
||||
bookingLimits: true,
|
||||
includeManagedEventsInLimits: true,
|
||||
},
|
||||
@@ -1362,6 +1363,7 @@ export class EventTypeRepository {
|
||||
groupId: true,
|
||||
user: {
|
||||
select: {
|
||||
locked: true,
|
||||
credentials: { select: credentialForCalendarServiceSelect },
|
||||
...availabilityUserSelect,
|
||||
},
|
||||
@@ -1384,6 +1386,7 @@ export class EventTypeRepository {
|
||||
},
|
||||
users: {
|
||||
select: {
|
||||
locked: true,
|
||||
credentials: { select: credentialForCalendarServiceSelect },
|
||||
...availabilityUserSelect,
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user