Fixing a typo
was: alert(JSON.stringify(test, null, " ")); now: alert(JSON.stringify(profile, null, " "));
This commit is contained in:
parent
f6737adb5e
commit
ff95d3c7b0
1 changed files with 1 additions and 1 deletions
|
@ -395,7 +395,7 @@ For example:
|
||||||
[source,javascript]
|
[source,javascript]
|
||||||
----
|
----
|
||||||
keycloak.loadUserProfile().then(function(profile) {
|
keycloak.loadUserProfile().then(function(profile) {
|
||||||
alert(JSON.stringify(test, null, " "));
|
alert(JSON.stringify(profile, null, " "));
|
||||||
}).catch(function() {
|
}).catch(function() {
|
||||||
alert('Failed to load user profile');
|
alert('Failed to load user profile');
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue