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 1173 days ago Picked 42 times
Submitted by admin Deno
Verified 243 days ago
1
import * as wmill from "https://deno.land/x/[email protected]/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