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