Skip to content
Snippets Groups Projects

add uid of member

Merged Hugo Trentesaux requested to merge hugo-member-name into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -181,7 +181,7 @@ class BMAEndpoint{
@@ -181,7 +181,7 @@ class BMAEndpoint{
return fetch(url)
return fetch(url)
.then(response => response.json())
.then(response => response.json())
.then(data => {
.then(data => {
this.member = (data.pubkey ? 'Oui' : 'Non')
this.member = (data.pubkey ? data.uid : 'Non')
})
})
.catch(error => { this.member = "ø" })
.catch(error => { this.member = "ø" })
Loading