mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-15 08:00:05 +00:00
fix: fix calls to SASjsApi endpoints
This commit is contained in:
@@ -16,7 +16,7 @@ export class SASjsApiClient {
|
|||||||
status: string
|
status: string
|
||||||
message: string
|
message: string
|
||||||
example?: {}
|
example?: {}
|
||||||
}>('/deploy', { members: members, appLoc: appLoc }, undefined)
|
}>('/deploy', { fileTree: members, appLoc: appLoc }, undefined)
|
||||||
|
|
||||||
return Promise.resolve(result)
|
return Promise.resolve(result)
|
||||||
}
|
}
|
||||||
@@ -28,7 +28,7 @@ export class SASjsApiClient {
|
|||||||
log?: string
|
log?: string
|
||||||
logPath?: string
|
logPath?: string
|
||||||
error?: {}
|
error?: {}
|
||||||
}>('/execute', query, undefined)
|
}>('/files/files/execute', query, undefined)
|
||||||
|
|
||||||
return Promise.resolve(result)
|
return Promise.resolve(result)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,5 @@
|
|||||||
export interface ExecutionQuery {
|
export interface ExecutionQuery {
|
||||||
_program: string
|
_program: string
|
||||||
}
|
_debug?: number
|
||||||
|
_log?: boolean
|
||||||
export interface ExecutionResult {
|
|
||||||
log: string
|
|
||||||
logPath: string
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user