[ARVADOS-WORKBENCH2] updated: 1.2.1-1017-gd2f157c
Git user
git at public.curoverse.com
Thu Nov 29 06:16:29 EST 2018
Summary of changes:
src/services/auth-service/auth-service.ts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
via d2f157cc1d05e8385fe3771447cd8b1412f2f5dd (commit)
from 7b837842dac38a9bb654b759a5651c7c4975e10a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit d2f157cc1d05e8385fe3771447cd8b1412f2f5dd
Author: Janicki Artur <artur.janicki at contractors.roche.com>
Date: Thu Nov 29 12:16:22 2018 +0100
refactor code for auth service
Feature #14503_keep_services
Arvados-DCO-1.1-Signed-off-by: Janicki Artur <artur.janicki at contractors.roche.com>
diff --git a/src/services/auth-service/auth-service.ts b/src/services/auth-service/auth-service.ts
index 397b319..edc6e24 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
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list