Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export const createHandler = async (context: Object) => {
const config = await createConfig(context);
return await createBaseHandler(config);
};
export const handler = async (event: Object, context: Object) => {
const config = await createConfig();
const apolloHandler = await createBaseHandler(config);
return apolloHandler(event, context);
};
export const createHandler = async (context: Object) => {
const config = await createConfig(context);
return await createBaseHandler(config);
};
export const handler = async (event: Object, context: Object) => {
const config = await createConfig();
const apolloHandler = await createBaseHandler(config);
return apolloHandler(event, context);
};
export const createHandler = async (context: Object) => {
const config = await createConfig(context);
return await createBaseHandler(config);
};
export const handler = async (event: Object, context: Object) => {
const config = await createConfig();
const apolloHandler = await createBaseHandler(config);
return apolloHandler(event, context);
};