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:
@@ -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
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user