From 90c3ee0d24f7c4ae8c3338f3f9ace4db62b62b9d Mon Sep 17 00:00:00 2001
From: Chris Hines <chris.hines@monash.edu>
Date: Tue, 5 Dec 2023 12:00:56 +1100
Subject: [PATCH] cleanup some code in two services

---
 src/app/authorisation.service.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/app/authorisation.service.ts b/src/app/authorisation.service.ts
index 0dc51c0..dceedfb 100644
--- a/src/app/authorisation.service.ts
+++ b/src/app/authorisation.service.ts
@@ -352,7 +352,7 @@ private getSessionToken(apiserver: APIServer): Observable<any> {
     let keycert$: Observable<any> = combineLatest([sshAuthZToken$, key$, apiserver$]).pipe(
       map(([token, key, apiserver ]) => { 
         return this.getCert(token, key, apiserver).pipe(
-          map((cert) => [key,cert]))
+          map((cert) => [key,cert, token]))
         }),
       tap(([key, cert, token]) => this.logout_sshauthz(token.sshauthzservice))
      )
-- 
GitLab