0
Return resume and cancel endpoints Approval
One script reply has been approved by the moderators Verified

Return an object containing the resume and cancel urls for testing purposes

Created by admin 496 days ago Viewed 5451 times
0
Submitted by admin Deno
Verified 496 days ago
1
import * as wmill from "https://deno.land/x/windmill@v1.85.0/mod.ts";
2

3
export async function main(approver?: string) {
4
  const endpoints = await wmill.getResumeUrls(approver);
5
  console.log(`Approval page at ${endpoints.approvalPage}`);
6
  return endpoints;
7
}
8