Fix for property name for api key on dailyvideo

pull/4992/head
Alan 2022-10-13 17:31:41 -06:00
parent c982af30e3
commit 32976934e0
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ export const metadata = {
label: "Cal Video",
},
},
key: { apikey: process.env.DAILY_API_KEY },
key: { api_key: process.env.DAILY_API_KEY },
} as AppMeta;
export default metadata;

View File

@ -56,7 +56,7 @@ const meetingTokenSchema = z.object({
export const FAKE_DAILY_CREDENTIAL: Credential = {
id: +new Date().getTime(),
type: "daily_video",
key: { apikey: process.env.DAILY_API_KEY },
key: { api_key: process.env.DAILY_API_KEY },
userId: +new Date().getTime(),
appId: "daily-video",
};