enabled emails
This commit is contained in:
parent
9e967cab33
commit
84df31c87a
|
@ -276,7 +276,7 @@ public class RepositoryServiceImpl implements RepositoryService {
|
|||
return resultSet;
|
||||
} catch (Exception e) {
|
||||
LOGGER.debug("Exception on getRepositoriesByCountry", e);
|
||||
// emailUtils.reportException(e);
|
||||
emailUtils.reportException(e);
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
|
@ -607,8 +607,8 @@ public class RepositoryServiceImpl implements RepositoryService {
|
|||
ResponseEntity responseEntity = restTemplate.exchange(uriComponents.toUri(), HttpMethod.POST, httpEntity, ResponseEntity.class);
|
||||
|
||||
if (responseEntity.getStatusCode().equals(HttpStatus.OK)) {
|
||||
// emailUtils.sendUserRegistrationEmail(repository, authentication);
|
||||
// emailUtils.sendAdminRegistrationEmail(repository, authentication);
|
||||
emailUtils.sendUserRegistrationEmail(repository, authentication);
|
||||
emailUtils.sendAdminRegistrationEmail(repository, authentication);
|
||||
} else
|
||||
LOGGER.debug(responseEntity.getBody().toString());
|
||||
|
||||
|
|
Loading…
Reference in New Issue