Skip to content

Commit

Permalink
refactor: reverting one step
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpeintner committed Sep 25, 2023
1 parent f49175d commit 0f1b2a0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/core/src/protocol-helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
) {
Expand All @@ -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)
) {
Expand Down

0 comments on commit 0f1b2a0

Please sign in to comment.