From 1606cfd6e2d83d8a8924865d4851ae37a11a2712 Mon Sep 17 00:00:00 2001 From: Gani Georgiev Date: Sat, 26 Aug 2023 14:34:47 +0300 Subject: [PATCH] fixed cronAdd example --- plugins/jsvm/internal/types/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/jsvm/internal/types/types.go b/plugins/jsvm/internal/types/types.go index 7d0c8003..4be4e717 100644 --- a/plugins/jsvm/internal/types/types.go +++ b/plugins/jsvm/internal/types/types.go @@ -29,7 +29,7 @@ const heading = ` * * ` + "```" + `js * // prints "Hello world!" on every 30 minutes - * cronAdd("hello", "*\/30 * * * *", (c) => { + * cronAdd("hello", "*\/30 * * * *", () => { * console.log("Hello world!") * }) * ` + "```" + `