From 07ed8c346a902372e1e78e640b58dbcb371f34aa Mon Sep 17 00:00:00 2001 From: Matt Aitken Date: Sat, 20 Jan 2024 14:01:56 +0000 Subject: [PATCH] Fix for enabled env var in docs --- docs/documentation/guides/jobs/managing.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/documentation/guides/jobs/managing.mdx b/docs/documentation/guides/jobs/managing.mdx index b20b6945e..c5a715019 100644 --- a/docs/documentation/guides/jobs/managing.mdx +++ b/docs/documentation/guides/jobs/managing.mdx @@ -64,7 +64,7 @@ client.defineJob({ name: "Example Job", version: "0.1.0", trigger: eventTrigger({ name: "example.event" }), - enabled: process.env.TRIGGER_JOBS_DISABLED === "true", + enabled: process.env.TRIGGER_JOBS_DISABLED !== "true", run: async (payload, io, ctx) => { // your Job code here },