Skip to content

Commit

Permalink
Update util.ts (calcom#16753)
Browse files Browse the repository at this point in the history
  • Loading branch information
alishaz-polymath authored Sep 21, 2024
1 parent 16ca4dd commit 2fb1408
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/trpc/server/routers/viewer/slots/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ async function getEventTypeId({
organizationDetails ?? { currentOrgDomain: null, isValidOrgDomain: false }
);
}
if (!userId && !teamId) throw new TRPCError({ code: "NOT_FOUND" });
const eventType = await prisma.eventType.findFirst({
where: {
slug: eventTypeSlug,
Expand Down

0 comments on commit 2fb1408

Please sign in to comment.