Files
2021b641ce feat: Alby integration (#11495)
Co-authored-by: Peer Richelsen <[email protected]>
Co-authored-by: alannnc <[email protected]>
Co-authored-by: Hariom Balhara <[email protected]>
Co-authored-by: Peer Richelsen <[email protected]>
2023-09-28 12:03:01 +00:00

14 lines
334 B
TypeScript

import { z } from "zod";
import getAppKeysFromSlug from "../../_utils/getAppKeysFromSlug";
export const getAlbyKeys = async () => {
const appKeys = await getAppKeysFromSlug("alby");
return appKeysSchema.parse(appKeys);
};
const appKeysSchema = z.object({
client_id: z.string().min(1),
client_secret: z.string().min(1),
});