1
0
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:
Mihajlo Medjedovic
2020-09-10 20:42:14 +02:00
parent ae5110974f
commit d3738ad5cd
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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
} }