Fixing a typo

was: alert(JSON.stringify(test, null, "  "));
now: alert(JSON.stringify(profile, null, "  "));
This commit is contained in:
Geoffrey Cleaves 2018-10-05 17:15:17 +02:00 committed by Stian Thorgersen
parent f6737adb5e
commit ff95d3c7b0

View file

@ -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');
}); });