From fdad2b1a439cb4fbe41d873c401bb41f0b6995ed Mon Sep 17 00:00:00 2001 From: imstar15 Date: Tue, 10 Dec 2024 12:10:18 +0800 Subject: [PATCH] Fix undefined trigger1 --- examples/example.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/example.js b/examples/example.js index 322a4bd..f42b3de 100644 --- a/examples/example.js +++ b/examples/example.js @@ -442,7 +442,7 @@ async function scheduleERC20TransferJob(owner, token, taskCondition) { const nodeIdTransfer = UlidMonotonic.generate().toCanonical(); const nodeIdNotification = UlidMonotonic.generate().toCanonical(); - console.log("\nTrigger type", trigger1.trigger_type); + console.log("\nTrigger type", trigger.trigger_type); const result = await asyncRPC( client,