@@ -1898,7 +1898,7 @@ public void ecrireGenApiServiceImpl2(String classeLangueNom) throws Exception {
18981898 tl (5 , ", config.getString(ComputateConfigKeys.AUTH_TOKEN_URI)" );
18991899 tl (5 , ")" );
19001900 tl (5 , ".ssl(config.getBoolean(ComputateConfigKeys.AUTH_SSL))" );
1901- tl (5 , ".putHeader(\" Authorization\" , String.format(\" Bearer %s\" , Optional.ofNullable(siteRequest.getUser()).map(user -> user .principal().getString(\" access_token\" )).orElse(\" \" )))" );
1901+ tl (5 , ".putHeader(\" Authorization\" , String.format(\" Bearer %s\" , Optional.ofNullable(siteRequest.getUser()).map(u -> u .principal().getString(\" access_token\" )).orElse(\" \" )))" );
19021902 tl (5 , ".sendForm(form)" );
19031903 tl (5 , ".expecting(HttpResponseExpectation.SC_OK)" );
19041904 tl (3 , ".onComplete(authorizationDecisionResponse -> {" );
@@ -2088,7 +2088,7 @@ public void ecrireGenApiServiceImpl2(String classeLangueNom) throws Exception {
20882088 tl (5 , ", config.getString(ComputateConfigKeys.AUTH_TOKEN_URI)" );
20892089 tl (5 , ")" );
20902090 tl (5 , ".ssl(config.getBoolean(ComputateConfigKeys.AUTH_SSL))" );
2091- tl (5 , ".putHeader(\" Authorization\" , String.format(\" Bearer %s\" , Optional.ofNullable(siteRequest.getUser()).map(user -> user .principal().getString(\" access_token\" )).orElse(\" \" )))" );
2091+ tl (5 , ".putHeader(\" Authorization\" , String.format(\" Bearer %s\" , Optional.ofNullable(siteRequest.getUser()).map(u -> u .principal().getString(\" access_token\" )).orElse(\" \" )))" );
20922092 tl (5 , ".sendForm(form)" );
20932093 tl (5 , ".expecting(HttpResponseExpectation.SC_OK)" );
20942094 tl (3 , ".onComplete(authorizationDecisionResponse -> {" );
0 commit comments