mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
CST-12126 log and cleaning
This commit is contained in:
@@ -55,9 +55,7 @@ public class LDNInboxController {
|
||||
public ResponseEntity<Object> inbox(@RequestBody Notification notification) throws Exception {
|
||||
Context context = ContextUtil.obtainCurrentRequestContext();
|
||||
validate(notification);
|
||||
|
||||
log.info("stored notification {} {}", notification.getId(), notification.getType());
|
||||
context.commit();
|
||||
|
||||
LDNMessageEntity ldnMsgEntity = ldnMessageService.create(context, notification);
|
||||
log.info("stored ldn message {}", ldnMsgEntity);
|
||||
|
Reference in New Issue
Block a user