Return data from schedule job 2

This commit is contained in:
Matt Aitken
2023-06-09 12:11:38 +01:00
parent 71ececd7ce
commit 5a4fa3d2b3
+4
View File
@@ -316,6 +316,10 @@ new Job(client, {
payload,
ctx,
});
return {
message: "Hello from scheduled job 1",
};
},
});