From 71346995e500006acbe30b3efb30c642587aad1e Mon Sep 17 00:00:00 2001 From: Costas Papastathis Date: Wed, 23 Mar 2022 20:26:03 +0200 Subject: [PATCH] Update securing_apps/topics/oidc/javascript-adapter.adoc Co-authored-by: Jon Koops --- securing_apps/topics/oidc/javascript-adapter.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/securing_apps/topics/oidc/javascript-adapter.adoc b/securing_apps/topics/oidc/javascript-adapter.adoc index 23f860bdcd..58a12d99d1 100644 --- a/securing_apps/topics/oidc/javascript-adapter.adoc +++ b/securing_apps/topics/oidc/javascript-adapter.adoc @@ -121,7 +121,7 @@ const loadData = function () { const url = 'http://localhost:8080/restful-service'; - let req = new XMLHttpRequest(); + const req = new XMLHttpRequest(); req.open('GET', url, true); req.setRequestHeader('Accept', 'application/json'); req.setRequestHeader('Authorization', 'Bearer ' + keycloak.token);