gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[reclaim-ui] 41/459: update


From: gnunet
Subject: [reclaim-ui] 41/459: update
Date: Fri, 11 Jun 2021 23:22:13 +0200

This is an automated email from the git hooks/post-receive script.

martin-schanzenbach pushed a commit to branch master
in repository reclaim-ui.

commit a19876703ebea30ab3e57545daf64d033ee28666
Author: Schanzenbach, Martin <mschanzenbach@posteo.de>
AuthorDate: Tue Apr 30 17:57:01 2019 +0200

    update
---
 src/app/gns.service.ts                           | 2 +-
 src/app/identity-list/identity-list.component.ts | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/app/gns.service.ts b/src/app/gns.service.ts
index 92b6e2e..6249088 100644
--- a/src/app/gns.service.ts
+++ b/src/app/gns.service.ts
@@ -10,7 +10,7 @@ export class GnsService {
   constructor(private http: HttpClient, private config: ConfigService) { }
 
   getClientName(client_id) {
-    return this.http.get<any[]>(this.config.get().apiUrl 
+    return this.http.get<any>(this.config.get().apiUrl 
       + '/gns/@.'+client_id+'?record_type=RECLAIM_OIDC_CLIENT');
   }
 
diff --git a/src/app/identity-list/identity-list.component.ts 
b/src/app/identity-list/identity-list.component.ts
index 9ad69cd..1082d12 100644
--- a/src/app/identity-list/identity-list.component.ts
+++ b/src/app/identity-list/identity-list.component.ts
@@ -117,7 +117,8 @@ export class IdentityListComponent implements OnInit {
     }
     this.clientName = this.oidcService.getClientId();
     this.gnsService.getClientName(this.oidcService.getClientId())
-        .subscribe(records => {
+        .subscribe(record => {
+          var records = record.data;
           console.log(records);
           for (var i = 0; i < records.length; i++) {
             if (records[i].record_type !== "RECLAIM_OIDC_CLIENT")

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]