perf: Refactor getPublicEvent to fetch org data using DB index key (#21850)

* wip

* fix

* fix naming

* fix typecheck
This commit is contained in:
Benny Joo authored and GitHub committed 2025-06-23 23:01:06 +01:00
1 parent 07c8bbc562
commit a37f1d9798
8 files changed
+79 -51

No files matched your search

@@ -424,7 +424,10 @@ export class EventTypesAtomService {
isTeamEvent,
orgSlug,
this.dbRead.prisma as unknown as PrismaClient,
true
true,
undefined,
false,
orgId
);
if (!event) {