Minor bugfix
This commit is contained in:
parent
391a88a236
commit
08737cbbf0
|
@ -43,6 +43,7 @@ public class InvitationsManager {
|
||||||
UserAssociation userAssociation = new UserAssociation();
|
UserAssociation userAssociation = new UserAssociation();
|
||||||
userAssociation.setFirstUser(principalUser);
|
userAssociation.setFirstUser(principalUser);
|
||||||
userAssociation.setSecondUser(userInfo);
|
userAssociation.setSecondUser(userInfo);
|
||||||
|
apiContext.getOperationsContext().getDatabaseRepository().getUserAssociationDao().createOrUpdate(userAssociation);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
DMP dataManagementPlan = apiContext.getOperationsContext().getDatabaseRepository().getDmpDao().find(invitation.getDataManagementPlan());
|
DMP dataManagementPlan = apiContext.getOperationsContext().getDatabaseRepository().getDmpDao().find(invitation.getDataManagementPlan());
|
||||||
|
|
Loading…
Reference in New Issue