Skip to content

Commit dabf536

Browse files
sean-brydonzomars
andauthored
DailyVideo default (#2505)
Co-authored-by: Omar López <zomars@me.com>
1 parent 33287d6 commit dabf536

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

apps/web/server/routers/viewer/eventTypes.tsx

+4
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,10 @@ export const eventTypesRouter = createProtectedRouter()
124124
},
125125
};
126126

127+
if (process.env.DAILY_API_KEY && process.env.DAILY_SCALE_PLAN) {
128+
data.locations = [{ type: "integrations:daily" }];
129+
}
130+
127131
if (teamId && schedulingType) {
128132
const hasMembership = await ctx.prisma.membership.findFirst({
129133
where: {

0 commit comments

Comments
 (0)