This commit is contained in:
Panagiotis Kanakakis 2019-02-28 12:22:27 +00:00
parent c07475164d
commit 65e32f13dd
1 changed files with 2 additions and 2 deletions

View File

@ -412,9 +412,9 @@ public class RepositoryServiceImpl implements RepositoryService {
HttpEntity<String> httpEntity = new HttpEntity<String>(json_repository, httpHeaders);
ResponseEntity responseEntity = restTemplate.exchange(uriComponents.toUri(),HttpMethod.POST, httpEntity, ResponseEntity.class);
if (responseEntity.getStatusCode().equals(HttpStatus.OK))
if (responseEntity.getStatusCode().equals(HttpStatus.OK)) {
emailUtils.sendUserRegistrationEmail(repository, authentication);
else
}else
LOGGER.debug(responseEntity.getBody().toString());
return repository;