Commit 34c3a4ef authored by Sebastian Chicoma's avatar Sebastian Chicoma

Se descomentó el codigo para obtener el Avatar

parent 00cbc136
......@@ -67,7 +67,7 @@ public class AgentBean {
bean.setVersion(agent.getVersion());
bean.setStatus(agent.getStatus().getName());
bean.setTimezone(agent.getTimezone());
//bean.setAvatar(agent.getAvatar());
bean.setAvatar(agent.getAvatar());
if (agent.getCountry() != null) {
bean.setCountryName(agent.getCountry().getName());
......
......@@ -116,7 +116,7 @@ public class AgentService extends CustomPaginationService<Agent> {
agentBD.setTimezone(agent.getTimezone());
agentBD.setVersion(agent.getVersion());
agentBD.setType(AgentTypeEnum.fromString(agent.getType()));
//agentBD.setAvatar(agent.getAvatar());
agentBD.setAvatar(agent.getAvatar());
if (agent.getCountryId() != null) {
Optional<Country> countryFound = countryRepository.findById(agent.getCountryId());
......@@ -260,7 +260,7 @@ public class AgentService extends CustomPaginationService<Agent> {
bean.setTimezone(agent.getTimezone());
bean.setType(agent.getType().getName());
bean.setStatus(agent.getStatus().getName());
//bean.setAvatar(agent.getAvatar());
bean.setAvatar(agent.getAvatar());
if (agent.getCountry() != null) {
bean.setCountryName(agent.getCountry().getName());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment