mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-04 11:10:05 +00:00
fix: waitForSession accessToken not passed
This commit is contained in:
@@ -381,7 +381,7 @@ export class SASViyaApiClient {
|
||||
arguments: jobArguments
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
const { result: postedJob, etag } = await this.request<Job>(
|
||||
`${this.serverUrl}/compute/sessions/${executionSessionId}/jobs`,
|
||||
postJobRequest
|
||||
|
||||
@@ -68,7 +68,7 @@ export class SessionManager {
|
||||
createSessionRequest
|
||||
)
|
||||
|
||||
await this.waitForSession(createdSession, etag)
|
||||
await this.waitForSession(createdSession, etag, accessToken)
|
||||
this.sessions.push(createdSession)
|
||||
return createdSession
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user