Skip to content

🎥 Make videos programmatically with React

fix type

Jonny Burger622492073b2c
diff --git a/packages/lambda/src/shared/validate-webhook.ts b/packages/lambda/src/shared/validate-webhook.ts
index 543712f402..f400d049d5 100644
--- a/packages/lambda/src/shared/validate-webhook.ts
+++ b/packages/lambda/src/shared/validate-webhook.ts
@@ -1,8 +1,8 @@
-import type {LambdaWebhookOption} from '../api/render-media-on-lambda';
+import type {WebhookOption} from './constants';
export const MAX_WEBHOOK_CUSTOM_DATA_SIZE = 1024;
-export const validateWebhook = (webhook?: LambdaWebhookOption | null) => {
+export const validateWebhook = (webhook?: WebhookOption | null) => {
if (typeof webhook === 'undefined' || webhook === null) {
return;
}