From 3f95a70039903850a6b3952ca7a62a571ccef192 Mon Sep 17 00:00:00 2001 From: MarcoE Date: Wed, 29 Oct 2025 11:10:11 +0100 Subject: [PATCH] Fix addEmsApi in restConsumer --- .../gest/login/rest/AuthenticationRESTConsumer.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/it/integry/integrywmsnative/gest/login/rest/AuthenticationRESTConsumer.java b/app/src/main/java/it/integry/integrywmsnative/gest/login/rest/AuthenticationRESTConsumer.java index 146574da..0bb27984 100644 --- a/app/src/main/java/it/integry/integrywmsnative/gest/login/rest/AuthenticationRESTConsumer.java +++ b/app/src/main/java/it/integry/integrywmsnative/gest/login/rest/AuthenticationRESTConsumer.java @@ -34,7 +34,7 @@ public class AuthenticationRESTConsumer extends _BaseRESTConsumer { String host = CommonConst.Login.Azienda.host; int port = CommonConst.Login.Azienda.port; - AuthenticationRESTConsumerService service = restBuilder.getService(AuthenticationRESTConsumerService.class, protocol, host, port, true); + AuthenticationRESTConsumerService service = restBuilder.getService(AuthenticationRESTConsumerService.class, protocol, host, port); service.loginAzienda(codAzienda).enqueue(new ManagedErrorCallback<>() { @Override public void onResponse(Call> call, Response> response) { @@ -67,7 +67,7 @@ public class AuthenticationRESTConsumer extends _BaseRESTConsumer { public void authenticate(String protocol, String host, int port, String username, String password, String profileDb, String deviceSalt, RunnableArgs onComplete, RunnableArgs onFailed) { - AuthenticationRESTConsumerService service = restBuilder.getService(AuthenticationRESTConsumerService.class, protocol, host, port, false); + AuthenticationRESTConsumerService service = restBuilder.getService(AuthenticationRESTConsumerService.class, protocol, host, port); LoginRequestDTO loginRequestDTO = new LoginRequestDTO() .setUsername(username) @@ -94,7 +94,7 @@ public class AuthenticationRESTConsumer extends _BaseRESTConsumer { public void retrieveAvailableProfiles(String protocol, String host, int port, String username, String password, RunnableArgs> onComplete, RunnableArgs onFailed) { - AuthenticationRESTConsumerService service = restBuilder.getService(AuthenticationRESTConsumerService.class, protocol, host, port, false); + AuthenticationRESTConsumerService service = restBuilder.getService(AuthenticationRESTConsumerService.class, protocol, host, port); service.retreiveAvailableProfiles(username, password) .enqueue(new ManagedErrorCallback<>() {