Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
joeauyeung committed Apr 12, 2024
1 parent d2a9fb6 commit 294fe3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/app-store/dailyvideo/lib/VideoApiAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ const DailyVideoApiAdapter = (): VideoApiAdapter => {

const translateEvent = async (event: CalendarEvent) => {
// Documentation at: https://docs.daily.co/reference#list-rooms
// added a 1 hour buffer for room expiration
// Adds 14 days from the end of the booking as the expiration date
const exp = Math.round(new Date(event.endTime).getTime() / 1000) + 60 * 60 * 24 * 14;
const { scale_plan: scalePlan } = await getDailyAppKeys();
const hasTeamPlan = await prisma.membership.findFirst({
Expand Down

0 comments on commit 294fe3f

Please sign in to comment.