Update util.ts (#16753)
This commit is contained in:
1 parent
16ca4dd39c
commit
2fb1408dd1
1 file changed
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user