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
+5
@@ -0,0 +1,5 @@
|
||||
-- DropIndex
|
||||
DROP INDEX "public"."Watchlist_type_value_organizationId_action_idx";
|
||||
|
||||
-- CreateIndex
|
||||
CREATE INDEX "Watchlist_isGlobal_action_organizationId_type_value_idx" ON "public"."Watchlist"("isGlobal", "action", "organizationId", "type", "value");
|
||||
@@ -2412,7 +2412,7 @@ model Watchlist {
|
||||
audits WatchlistAudit[]
|
||||
|
||||
@@unique([type, value, organizationId])
|
||||
@@index([type, value, organizationId, action])
|
||||
@@index([isGlobal, action, organizationId, type, value])
|
||||
}
|
||||
|
||||
model WatchlistAudit {
|
||||
|
||||
Reference in new issue
Block a user