Fixes daily-video slug

This commit is contained in:
zomars 2022-05-05 16:34:26 -06:00
parent 0b82b85166
commit 6fb301970b
3 changed files with 3 additions and 3 deletions

View file

@ -125,7 +125,7 @@ export const eventTypesRouter = createProtectedRouter()
}, },
}; };
const appKeys = await getAppKeysFromSlug("dailyvideo"); const appKeys = await getAppKeysFromSlug("daily-video");
if (typeof appKeys.api_key === "string") { if (typeof appKeys.api_key === "string") {
data.locations = [{ type: "integrations:daily" }]; data.locations = [{ type: "integrations:daily" }];
} }

View file

@ -18,7 +18,7 @@ export const metadata = {
rating: 4.3, // TODO: placeholder for now, pull this from TrustPilot or G2 rating: 4.3, // TODO: placeholder for now, pull this from TrustPilot or G2
reviews: 69, // TODO: placeholder for now, pull this from TrustPilot or G2 reviews: 69, // TODO: placeholder for now, pull this from TrustPilot or G2
category: "video", category: "video",
slug: "dailyvideo", slug: "daily-video",
title: "Cal Video", title: "Cal Video",
isGlobal: true, isGlobal: true,
email: "help@cal.com", email: "help@cal.com",

View file

@ -53,7 +53,7 @@ async function main() {
} }
// Video apps // Video apps
if (process.env.DAILY_API_KEY) { if (process.env.DAILY_API_KEY) {
await createApp("dailyvideo", "dailyvideo", ["video"], "daily_video", { await createApp("daily-video", "dailyvideo", ["video"], "daily_video", {
api_key: process.env.DAILY_API_KEY, api_key: process.env.DAILY_API_KEY,
scale_plan: process.env.DAILY_SCALE_PLAN, scale_plan: process.env.DAILY_SCALE_PLAN,
}); });