0

Log error

by
Published Sep 29, 2022
Scriptยท failure windmill Verified

The script

Submitted by hugo989 Typescript (fetch-only)
Verified 6 days ago
1
//native
2

3
export async function main(message: string, name: string) {
4
  const flow_id = Bun.env.WM_FLOW_JOB_ID;
5
  console.log("message", message);
6
  console.log("name", name);
7
  return { message, flow_id };
8
}
9

Other submissions
  • Submitted by admin Deno
    Created 398 days ago
    1
    export async function main(message: string, name: string) {
    2
      const flow_id = Deno.env.get("WM_FLOW_JOB_ID");
    3
      console.log("message", message);
    4
      console.log("name", name);
    5
      return { message, flow_id };
    6
    }
    7