1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-13 23:20:05 +00:00

fix: when sas fails with verifying credentials, resend request with new csrf token

This commit is contained in:
2021-05-28 15:05:44 +02:00
parent 0aa0ae65e0
commit 460575b462
6 changed files with 50 additions and 44 deletions

View File

@@ -314,9 +314,7 @@ export class ContextManager {
contextId: string,
accessToken?: string
): Promise<ContextAllAttributes> {
const {
result: context
} = await this.requestClient
const { result: context } = await this.requestClient
.get<ContextAllAttributes>(
`${this.serverUrl}/compute/contexts/${contextId}`,
accessToken