mirror of
https://github.com/sasjs/adapter.git
synced 2026-04-12 00:43:13 +00:00
Compare commits
5 Commits
v4.16.1
...
dependabot
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c7227556ba | ||
|
|
8e8efd22e9 | ||
|
|
f80d0c87f9 | ||
|
|
5bd641b843 | ||
|
|
539fe5f4ed |
@@ -1,2 +0,0 @@
|
||||
tasks:
|
||||
- init: npm install && npm run build
|
||||
5248
package-lock.json
generated
5248
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -62,7 +62,7 @@
|
||||
"pem": "1.14.5",
|
||||
"prettier": "2.8.7",
|
||||
"process": "0.11.10",
|
||||
"semantic-release": "19.0.3",
|
||||
"semantic-release": "25.0.3",
|
||||
"terser-webpack-plugin": "5.3.6",
|
||||
"ts-jest": "29.2.6",
|
||||
"ts-loader": "9.4.0",
|
||||
@@ -77,7 +77,7 @@
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@sasjs/utils": "3.5.6",
|
||||
"axios": "1.12.2",
|
||||
"axios": "^1.13.5",
|
||||
"axios-cookiejar-support": "5.0.5",
|
||||
"form-data": "4.0.4",
|
||||
"https": "1.0.0",
|
||||
|
||||
@@ -97,12 +97,10 @@ export class WebJobExecutor extends BaseJobExecutor {
|
||||
apiUrl = apiUrl.replace('_program=', '__program=')
|
||||
}
|
||||
|
||||
// if context name exists and is not blank string
|
||||
// then add _contextname variable in apiUrl
|
||||
apiUrl +=
|
||||
config.contextName && !/\s/.test(config.contextName)
|
||||
? `&_contextname=${config.contextName}`
|
||||
: ''
|
||||
// Append context name to URL if provided and non-empty
|
||||
apiUrl += config.contextName?.trim()
|
||||
? `&_contextname=${encodeURIComponent(config.contextName)}`
|
||||
: ''
|
||||
}
|
||||
|
||||
let requestParams = {
|
||||
|
||||
Reference in New Issue
Block a user