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

feat(context): made getContextByName function public

This commit is contained in:
Yury Shkoda
2020-09-23 16:38:21 +03:00
parent c1bab07b08
commit 491bc3371c
29 changed files with 3816 additions and 22 deletions

View File

@@ -1387,7 +1387,12 @@ export class SASViyaApiClient {
return `/folders/folders/${folder.id}`
}
private async getContextByName(
/**
* Returns a compute context.
* @param contextName - the name of the context to return.
* @param accessToken - an access token for an authorized user.
*/
public async getContextByName(
contextName: string,
accessToken?: string
): Promise<Context> {