2
0
Files
cal/calcom/packages/app-store/googlecalendar/lib/getGoogleAppKeys.ts
2024-08-09 00:39:27 +02:00

14 lines
365 B
TypeScript

import { z } from "zod";
import getParsedAppKeysFromSlug from "../../_utils/getParsedAppKeysFromSlug";
const googleAppKeysSchema = z.object({
client_id: z.string(),
client_secret: z.string(),
redirect_uris: z.array(z.string()),
});
export const getGoogleAppKeys = async () => {
return getParsedAppKeysFromSlug("google-calendar", googleAppKeysSchema);
};