Return an object containing the resume and cancel urls for testing purposes
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