Update appId validation
This commit is contained in:
parent
d65be100cd
commit
b047f7b33d
Binary file not shown.
@ -58,10 +58,12 @@ public class LegalCustomerProductDirectoryService implements LegalCustomerProduc
|
||||
log.info("Iniciando ejecucion para el cliente: {}", request.getCustomerId());
|
||||
|
||||
Response response = null;
|
||||
LegalCustomerProductDirectoryRequest requestFromAppId = getRequestFromAppId(request);
|
||||
LegalCustomerProductDirectoryRequest requestFromAppId = request;
|
||||
long startTime = System.currentTimeMillis();
|
||||
|
||||
try {
|
||||
requestFromAppId = getRequestFromAppId(request);
|
||||
|
||||
if(StringUtil.isNullOrEmpty(requestFromAppId.getCustomerId())) {
|
||||
log.error("Error en el codigo del cliente vacio");
|
||||
throw HttpStatusCodeException.badRequest("VRN01");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user