mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-18 09:30:06 +00:00
fix(lint): used latest version of prettier
This commit is contained in:
@@ -314,7 +314,9 @@ export class ContextManager {
|
|||||||
contextId: string,
|
contextId: string,
|
||||||
accessToken?: string
|
accessToken?: string
|
||||||
): Promise<ContextAllAttributes> {
|
): Promise<ContextAllAttributes> {
|
||||||
const { result: context } = await this.requestClient
|
const {
|
||||||
|
result: context
|
||||||
|
} = await this.requestClient
|
||||||
.get<ContextAllAttributes>(
|
.get<ContextAllAttributes>(
|
||||||
`${this.serverUrl}/compute/contexts/${contextId}`,
|
`${this.serverUrl}/compute/contexts/${contextId}`,
|
||||||
accessToken
|
accessToken
|
||||||
|
|||||||
@@ -571,9 +571,9 @@ export class SASViyaApiClient {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const { result: createFolderResponse } = await this.requestClient.post<
|
const {
|
||||||
Folder
|
result: createFolderResponse
|
||||||
>(
|
} = await this.requestClient.post<Folder>(
|
||||||
`/folders/folders?parentFolderUri=${parentFolderUri}`,
|
`/folders/folders?parentFolderUri=${parentFolderUri}`,
|
||||||
{
|
{
|
||||||
name: folderName,
|
name: folderName,
|
||||||
@@ -852,7 +852,9 @@ export class SASViyaApiClient {
|
|||||||
throw new Error(`URI of job definition was not found.`)
|
throw new Error(`URI of job definition was not found.`)
|
||||||
}
|
}
|
||||||
|
|
||||||
const { result: jobDefinition } = await this.requestClient
|
const {
|
||||||
|
result: jobDefinition
|
||||||
|
} = await this.requestClient
|
||||||
.get<JobDefinition>(
|
.get<JobDefinition>(
|
||||||
`${this.serverUrl}${jobDefinitionLink.href}`,
|
`${this.serverUrl}${jobDefinitionLink.href}`,
|
||||||
accessToken
|
accessToken
|
||||||
|
|||||||
@@ -91,7 +91,10 @@ export class SessionManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private async createAndWaitForSession(accessToken?: string) {
|
private async createAndWaitForSession(accessToken?: string) {
|
||||||
const { result: createdSession, etag } = await this.requestClient
|
const {
|
||||||
|
result: createdSession,
|
||||||
|
etag
|
||||||
|
} = await this.requestClient
|
||||||
.post<Session>(
|
.post<Session>(
|
||||||
`${this.serverUrl}/compute/contexts/${
|
`${this.serverUrl}/compute/contexts/${
|
||||||
this.currentContext!.id
|
this.currentContext!.id
|
||||||
|
|||||||
Reference in New Issue
Block a user