Skip to content

Commit

Permalink
Fix enduser again
Browse files Browse the repository at this point in the history
  • Loading branch information
ilgrosso committed Jul 11, 2023
1 parent ce0e6b4 commit 4b58df2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ private <T> T getCachedService(final Class<T> serviceClass) {
@Override
public <T> T getService(final Class<T> serviceClass) {
T service = (client == null || !isAuthenticated())
? anonymousClient.getService(serviceClass)
? getAnonymousClient().getService(serviceClass)
: client.getService(serviceClass);
WebClient.client(service).header(RESTHeaders.DOMAIN, getDomain());
return service;
Expand Down

0 comments on commit 4b58df2

Please sign in to comment.