Skip to content

Scheduling infrastructure for absolutely everyone.

chore: enable transcription for teams plan users (#15025)

Udit Takkar51428087ef0a
diff --git a/apps/web/modules/videos/views/videos-single-view.tsx b/apps/web/modules/videos/views/videos-single-view.tsx
index 528fea72355..a170b66fc23 100644
--- a/apps/web/modules/videos/views/videos-single-view.tsx
+++ b/apps/web/modules/videos/views/videos-single-view.tsx
@@ -50,7 +50,7 @@ export default function JoinCall(props: PageProps) {
customTrayButtons: {
transcription: {
label: "Cal.ai",
- tooltip: "Enable transcription powered by AI",
+ tooltip: "Toggle real time transcription powered by AI",
iconPath: `${WEBAPP_URL}/sparkles.svg`,
iconPathDarkMode: `${WEBAPP_URL}/sparkles.svg`,
},
diff --git a/packages/app-store/dailyvideo/lib/VideoApiAdapter.ts b/packages/app-store/dailyvideo/lib/VideoApiAdapter.ts
index 5303e5fcdde..3c75f492389 100644
--- a/packages/app-store/dailyvideo/lib/VideoApiAdapter.ts
+++ b/packages/app-store/dailyvideo/lib/VideoApiAdapter.ts
@@ -169,17 +169,6 @@ const DailyVideoApiAdapter = (): VideoApiAdapter => {
},
});
- // Check if organizer has subscribed to Cal.ai
-
- const isCalAiSubscribed = await prisma.credential.findMany({
- where: {
- userId: event.organizer.id,
- type: "cal-ai_automation",
- invalid: false,
- paymentStatus: "active",
- },
- });
-
return {
privacy: "public",
properties: {
@@ -189,7 +178,7 @@ const DailyVideoApiAdapter = (): VideoApiAdapter => {
enable_chat: true,
exp: exp,
enable_recording: scalePlan === "true" && !!hasTeamPlan === true ? "cloud" : undefined,
- enable_transcription_storage: !!isCalAiSubscribed,
+ enable_transcription_storage: !!hasTeamPlan,
permissions: {
canAdmin: ["transcription"],
},