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