fix: invalid type of enable_transcription_storage (#15049)
* fix: invalid type of enable_transcription_storage * fix: type err
This commit is contained in:
1 parent
973b624882
commit
87a8b5a8dd
4 files changed
+33
-15
No files matched your search
@@ -30,7 +30,7 @@ const dailyReturnTypeSchema = z.object({
|
||||
enable_chat: z.boolean(),
|
||||
enable_knocking: z.boolean(),
|
||||
enable_prejoin_ui: z.boolean(),
|
||||
enable_transcription_storage: z.boolean(),
|
||||
enable_transcription_storage: z.boolean().default(false),
|
||||
}),
|
||||
});
|
||||
|
||||
@@ -179,9 +179,11 @@ const DailyVideoApiAdapter = (): VideoApiAdapter => {
|
||||
exp: exp,
|
||||
enable_recording: scalePlan === "true" && !!hasTeamPlan === true ? "cloud" : undefined,
|
||||
enable_transcription_storage: !!hasTeamPlan,
|
||||
permissions: {
|
||||
canAdmin: ["transcription"],
|
||||
},
|
||||
...(!!hasTeamPlan && {
|
||||
permissions: {
|
||||
canAdmin: ["transcription"],
|
||||
},
|
||||
}),
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user