From d2f157cc1d05e8385fe3771447cd8b1412f2f5dd Mon Sep 17 00:00:00 2001 From: Janicki Artur Date: Thu, 29 Nov 2018 12:16:22 +0100 Subject: [PATCH] refactor code for auth service Feature #14503_keep_services Arvados-DCO-1.1-Signed-off-by: Janicki Artur --- src/services/auth-service/auth-service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/services/auth-service/auth-service.ts b/src/services/auth-service/auth-service.ts index 397b3193..edc6e24f 100644 --- a/src/services/auth-service/auth-service.ts +++ b/src/services/auth-service/auth-service.ts @@ -59,8 +59,8 @@ export class AuthService { const email = localStorage.getItem(USER_EMAIL_KEY); const firstName = localStorage.getItem(USER_FIRST_NAME_KEY); const lastName = localStorage.getItem(USER_LAST_NAME_KEY); - const uuid = localStorage.getItem(USER_UUID_KEY); - const ownerUuid = localStorage.getItem(USER_OWNER_UUID_KEY); + const uuid = this.getUuid(); + const ownerUuid = this.getOwnerUuid(); const isAdmin = this.getIsAdmin(); return email && firstName && lastName && uuid && ownerUuid -- 2.30.2