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

fix: fix calls to SASjsApi endpoints

This commit is contained in:
Yury Shkoda
2021-10-27 11:16:35 +03:00
parent 519494718b
commit 0457eb6663
2 changed files with 4 additions and 7 deletions

View File

@@ -16,7 +16,7 @@ export class SASjsApiClient {
status: string
message: string
example?: {}
}>('/deploy', { members: members, appLoc: appLoc }, undefined)
}>('/deploy', { fileTree: members, appLoc: appLoc }, undefined)
return Promise.resolve(result)
}
@@ -28,7 +28,7 @@ export class SASjsApiClient {
log?: string
logPath?: string
error?: {}
}>('/execute', query, undefined)
}>('/files/files/execute', query, undefined)
return Promise.resolve(result)
}

View File

@@ -1,8 +1,5 @@
export interface ExecutionQuery {
_program: string
}
export interface ExecutionResult {
log: string
logPath: string
_debug?: number
_log?: boolean
}