fix(typeform/new-entry): early exit when no response

This commit is contained in:
Ali BARIN
2022-11-30 19:31:38 +01:00
parent 2f06cda82b
commit 2564d7d976

View File

@@ -38,6 +38,10 @@ export default defineTrigger({
const lastResponse = responses.items[0];
if (!lastResponse) {
return;
}
const computedWebhookEvent = {
event_type: 'form_response',
form_response: {