Merge branch 'main' into feat/api-keys
commit
a741edc803
|
@ -124,6 +124,10 @@ export const eventTypesRouter = createProtectedRouter()
|
|||
},
|
||||
};
|
||||
|
||||
if (process.env.DAILY_API_KEY && process.env.DAILY_SCALE_PLAN) {
|
||||
data.locations = [{ type: "integrations:daily" }];
|
||||
}
|
||||
|
||||
if (teamId && schedulingType) {
|
||||
const hasMembership = await ctx.prisma.membership.findFirst({
|
||||
where: {
|
||||
|
|
Loading…
Reference in New Issue