1
0
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:
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
})
}
const { result: postedJob, etag } = await this.request<Job>(
`${this.serverUrl}/compute/sessions/${executionSessionId}/jobs`,
postJobRequest

View File

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