Skip to content

Commit 74bd1b1

Browse files
committed
fix(workday): use validation.sanitized in buildWsdlUrl
1 parent 2442551 commit 74bd1b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/sim/tools/workday/soap.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ export function buildWsdlUrl(
142142
throw new Error(validation.error ?? 'Invalid tenantUrl')
143143
}
144144
const svc = WORKDAY_SERVICES[service]
145-
const baseUrl = tenantUrl.replace(/\/$/, '')
145+
const baseUrl = (validation.sanitized ?? tenantUrl).replace(/\/$/, '')
146146
return `${baseUrl}/ccx/service/${tenant}/${svc.name}/${svc.version}?wsdl`
147147
}
148148

0 commit comments

Comments
 (0)