diff --git a/frontend/src/lib/script_helpers.ts b/frontend/src/lib/script_helpers.ts index 2893a4783e..5485d2e69c 100644 --- a/frontend/src/lib/script_helpers.ts +++ b/frontend/src/lib/script_helpers.ts @@ -254,13 +254,13 @@ func main() (interface{}, error) { export const DENO_INIT_CODE_APPROVAL = `import * as wmill from "npm:windmill-client@1" export async function main(approver?: string) { - return wmill.getResumeEndpoints(approver) + return wmill.getResumeUrls(approver) }` export const BUN_INIT_CODE_APPROVAL = `import * as wmill from "windmill-client@1" export async function main(approver?: string) { - return wmill.getResumeEndpoints(approver) + return wmill.getResumeUrls(approver) }` export const DOCKER_INIT_CODE = `# shellcheck shell=bash diff --git a/typescript-client/build.sh b/typescript-client/build.sh index 7f2894a3fb..5d576f8b50 100755 --- a/typescript-client/build.sh +++ b/typescript-client/build.sh @@ -6,4 +6,4 @@ npx --yes openapi-typescript-codegen --input ../backend/windmill-api/openapi.yam && sed -i '213 i \\ request.referrerPolicy = \"no-referrer\"\n' src/core/request.ts cp client.ts src/ -echo 'export { setClient, getVariable, setVariable, getResource, setResource } from "./client";' >> src/index.ts \ No newline at end of file +echo 'export { setClient, getVariable, setVariable, getResource, setResource, getResumeUrls } from "./client";' >> src/index.ts \ No newline at end of file