perf: Refactor getPublicEvent to fetch org data using DB index key (#21850)
* wip * fix * fix naming * fix typecheck
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user