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

chore: address PR comments

This commit is contained in:
Yury Shkoda
2021-10-27 11:15:28 +03:00
parent 0321f77451
commit 519494718b
2 changed files with 1 additions and 6 deletions

View File

@@ -33,7 +33,6 @@ import { LoginOptions, LoginResult } from './types/Login'
const defaultConfig: SASjsConfig = { const defaultConfig: SASjsConfig = {
serverUrl: '', serverUrl: '',
pathSASjs: '',
pathSAS9: '/SASStoredProcess/do', pathSAS9: '/SASStoredProcess/do',
pathSASViya: '/SASJobExecution', pathSASViya: '/SASJobExecution',
appLoc: '/Public/seedapp', appLoc: '/Public/seedapp',
@@ -831,10 +830,7 @@ export default class SASjs {
} }
public async deployToSASjs(members: [FolderMember, ServiceMember]) { public async deployToSASjs(members: [FolderMember, ServiceMember]) {
return await this.SASjsApiClient?.deploy( return await this.SASjsApiClient?.deploy(members, this.sasjsConfig.appLoc)
members,
this.sasjsConfig.appLoc
)
} }
public async executeJobSASjs(query: ExecutionQuery) { public async executeJobSASjs(query: ExecutionQuery) {

View File

@@ -21,7 +21,6 @@ export class SASjsConfig {
* will use '/SASJobExecution' on SAS Viya. * will use '/SASJobExecution' on SAS Viya.
*/ */
pathSASViya: string = '' pathSASViya: string = ''
pathSASjs: string = ''
/** /**
* The appLoc is the parent folder under which the SAS services (STPs or Job * The appLoc is the parent folder under which the SAS services (STPs or Job
* Execution Services) are stored. We recommend that each app is stored in * Execution Services) are stored. We recommend that each app is stored in