1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-08 04:50:06 +00:00

fix(baseSAS): removed sasjs/server logic

This commit is contained in:
Yury Shkoda
2021-09-30 14:31:54 +03:00
parent 7638595523
commit a5b5052a5f
2 changed files with 32 additions and 101 deletions

View File

@@ -834,8 +834,8 @@ export default class SASjs {
return await this.sasBaseApiClient?.deploy(members)
}
public async executeScriptSASBase(query: ExecutionQuery) {
return await this.sasBaseApiClient?.executeScript(query)
public async executeJobSASBase(query: ExecutionQuery) {
return await this.sasBaseApiClient?.executeJob(query)
}
/**
@@ -1018,10 +1018,11 @@ export default class SASjs {
if (this.sasjsConfig.serverType === ServerType.Sasjs) {
if (this.sasBaseApiClient) {
this.sasBaseApiClient.setConfig(this.sasjsConfig.pathSASBase)
this.sasBaseApiClient.setConfig(this.sasjsConfig.serverUrl)
} else {
this.sasBaseApiClient = new SASBaseApiClient(
this.sasjsConfig.pathSASBase
this.sasjsConfig.serverUrl,
this.requestClient
)
}
}