diff --git a/client/src/app/deploy/sections/automatic/automatic.component.ts b/client/src/app/deploy/sections/automatic/automatic.component.ts index ce7b87f..98a54f8 100644 --- a/client/src/app/deploy/sections/automatic/automatic.component.ts +++ b/client/src/app/deploy/sections/automatic/automatic.component.ts @@ -84,13 +84,15 @@ export class AutomaticComponent implements OnInit { public async getCurrentUser() { this.currentUserInfoLoading = true - this.sasViyaService.getCurrentUser().subscribe((res: ViyaApiCurrentUser) => { - this.currentUserInfoLoading = false + this.sasViyaService + .getCurrentUser() + .subscribe((res: ViyaApiCurrentUser) => { + this.currentUserInfoLoading = false - this.currentUserInfo = res + this.currentUserInfo = res - this.dcPath = `/export/viya/homes/${res.id}` - }) + this.dcPath = `/export/viya/homes/${res.id}` + }) } public async getAdminGroups() { diff --git a/client/src/app/viya-api-explorer/models/viya-api-current-user.model.ts b/client/src/app/viya-api-explorer/models/viya-api-current-user.model.ts index 08aea73..2ac4899 100644 --- a/client/src/app/viya-api-explorer/models/viya-api-current-user.model.ts +++ b/client/src/app/viya-api-explorer/models/viya-api-current-user.model.ts @@ -1,17 +1,17 @@ export interface ViyaApiCurrentUser { - creationTimeStamp: string; - modifiedTimeStamp: string; - id: string; - type: string; - name: string; - links: Link[]; - version: number; + creationTimeStamp: string + modifiedTimeStamp: string + id: string + type: string + name: string + links: Link[] + version: number } export interface Link { - method: string; - rel: string; - href: string; - uri: string; - type: string; -} \ No newline at end of file + method: string + rel: string + href: string + uri: string + type: string +}