1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-07 20:40:05 +00:00

fix: viya with web approach adding 2 underscores in front of program param

This commit is contained in:
2021-07-27 14:05:34 +02:00
parent 52e95e3455
commit ded7990096
2 changed files with 8 additions and 4 deletions

View File

@@ -54,6 +54,11 @@ export class WebJobExecutor extends BaseJobExecutor {
apiUrl += jobUri.length > 0 ? '&_job=' + jobUri : ''
if (jobUri.length > 0) {
apiUrl += '&_job=' + jobUri
apiUrl = apiUrl.replace('_program=', '__program=')
}
apiUrl += config.contextName ? `&_contextname=${config.contextName}` : ''
}