Fixed issue with invitation properties
This commit is contained in:
parent
caec63be38
commit
9751d0fb78
|
@ -55,7 +55,8 @@ public class InvitationServiceImpl implements InvitationService {
|
|||
invitation.setUser(creator);
|
||||
invitation.setToken(UUID.randomUUID());
|
||||
invitation.setAcceptedInvitation(false);
|
||||
invitation.setProperties("<role>" + role + "</role>");
|
||||
invitation.setProperties("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
|
||||
invitation.setProperties(invitation.getProperties() + "\n" +"<role>" + role + "</role>");
|
||||
invitationDao.createOrUpdate(invitation);
|
||||
sendInvitationAsync(dmp, invitation, userInfo.getName(), mailService, role);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue