Skip to content

Commit

Permalink
add contact to entities created by ih-sync
Browse files Browse the repository at this point in the history
(cherry picked from commit 0d90ab6)
  • Loading branch information
ahakanzn committed Sep 16, 2024
1 parent 5e4cc45 commit 4211281
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ public List<Contact> listContactPersons(@NotNull UUID entityKey) {
@Secured({GRSCICOLL_ADMIN_ROLE, GRSCICOLL_EDITOR_ROLE, GRSCICOLL_MEDIATOR_ROLE})
@Transactional
@Override
public void addSuggestionContacts(@NotNull UUID createdEntity, @NotNull ChangeSuggestion changeSuggestion) {
public <R extends CollectionEntity> void addSuggestionContacts(@NotNull UUID createdEntity, @NotNull ChangeSuggestion<R> changeSuggestion) {
if (changeSuggestion.getSuggestedEntity().getContactPersons() != null
&& !changeSuggestion.getSuggestedEntity().getContactPersons().isEmpty()) {

Expand Down

0 comments on commit 4211281

Please sign in to comment.