From 0f1b2a0a62be590c015e771f41aff1dad143ca83 Mon Sep 17 00:00:00 2001 From: danielpeintner Date: Mon, 25 Sep 2023 14:36:52 +0200 Subject: [PATCH] refactor: reverting one step --- packages/core/src/protocol-helpers.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/core/src/protocol-helpers.ts b/packages/core/src/protocol-helpers.ts index 62cd24f1e..cadd052f9 100644 --- a/packages/core/src/protocol-helpers.ts +++ b/packages/core/src/protocol-helpers.ts @@ -139,6 +139,7 @@ export default class ProtocolHelpers { if ( actionName != null && uriScheme != null && + td?.actions && td?.actions[actionName]?.forms != null && Array.isArray(td.actions[actionName].forms) ) { @@ -161,6 +162,7 @@ export default class ProtocolHelpers { if ( eventName != null && uriScheme != null && + td?.events && td?.events[eventName]?.forms != null && Array.isArray(td.events[eventName].forms) ) {