Revert "perf: Refactor getPublicEvent to fetch org data using DB index key (#21850)"
This reverts commit a37f1d9798.
This commit is contained in:
1 parent
6dad0e7679
commit
218ec9140c
8 files changed
+51
-79
No files matched your search
@@ -4,8 +4,7 @@ export const ZEventInputSchema = z.object({
|
||||
username: z.string(),
|
||||
eventSlug: z.string(),
|
||||
isTeamEvent: z.boolean().optional(),
|
||||
orgSlug: z.string().nullable(),
|
||||
orgId: z.number().optional(),
|
||||
org: z.string().nullable(),
|
||||
/**
|
||||
* Informs that the event request has been sent from a page that was reached by a redirect from non-org link(i.e. app.cal.com/username redirected to acme.cal.com/username)
|
||||
* Based on this decision like whether to allow unpublished organization's event to be served or not can be made.
|
||||
|
||||
Reference in new issue
Block a user