Skip to content

Commit 2b9b184

Browse files
committed
DOI / Notification / Notify user who requested the DOI.
1 parent 79d6c28 commit 2b9b184

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

doi/src/main/java/org/fao/geonet/doi/client/DoiManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ private void notifyByMail(ServiceContext context, AbstractMetadata metadata, Str
582582
ms.getStatusValue().getName().equals("doiCreationTask") && (ms.getCloseDate() == null)).findFirst();
583583

584584
if (msOpt.isPresent()) {
585-
Integer taskOwner = msOpt.get().getOwner();
585+
Integer taskOwner = msOpt.get().getUserId();
586586
if (taskOwner != null) {
587587
UserRepository userRepository = context.getBean(UserRepository.class);
588588
Optional<User> ownerUser = userRepository.findById(taskOwner);

0 commit comments

Comments
 (0)