From 04c76d7f09b86d029c4809d57e3c67f0680e7ea0 Mon Sep 17 00:00:00 2001 From: Fangyuan Cheng <40712758+pureshine@users.noreply.github.com> Date: Wed, 13 Feb 2019 18:57:49 +0800 Subject: [PATCH] Modify the ui name and token that cannot be displayed due to backend api changes (#6914) Signed-off-by: FangyuanCheng --- .../project/robot-account/add-robot/add-robot.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/portal/src/app/project/robot-account/add-robot/add-robot.component.ts b/src/portal/src/app/project/robot-account/add-robot/add-robot.component.ts index 61922c4e1..da03b257b 100644 --- a/src/portal/src/app/project/robot-account/add-robot/add-robot.component.ts +++ b/src/portal/src/app/project/robot-account/add-robot/add-robot.component.ts @@ -130,8 +130,8 @@ export class AddRobotComponent implements OnInit, OnDestroy { .subscribe( response => { this.isSubmitOnGoing = false; - this.robotToken = response.Token; - this.robotAccount = response.Name; + this.robotToken = response.token; + this.robotAccount = response.name; this.copyToken = true; this.create.emit(true); this.translate