diff --git a/apps/image-resizer/src/main.ts b/apps/image-resizer/src/main.ts index 325c637..894abd0 100644 --- a/apps/image-resizer/src/main.ts +++ b/apps/image-resizer/src/main.ts @@ -1,7 +1,7 @@ import { extractParams } from '@s3-utils/index'; import { S3Event } from 'aws-lambda'; -export const lambdaHandler = async (event: S3Event): Promise => { +export const handler = async (event: S3Event): Promise => { const { videoFileName, triggerBucketName } = extractParams(event); console.log({ videoFileName, triggerBucketName }); }; diff --git a/apps/thumbnail-generator/src/main.ts b/apps/thumbnail-generator/src/main.ts index 75ec548..170d3d5 100644 --- a/apps/thumbnail-generator/src/main.ts +++ b/apps/thumbnail-generator/src/main.ts @@ -1,7 +1,7 @@ import { S3Event } from 'aws-lambda'; import { extractParams } from '@s3-utils'; -export const lambdaHandler = async (event: S3Event): Promise => { +export const handler = async (event: S3Event): Promise => { const { videoFileName, triggerBucketName } = extractParams(event); console.log({ videoFileName, triggerBucketName }); };