mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-31 20:51:26 +00:00
FIX - Single suggestion should be marked as Suggested too (#20488)
This commit is contained in:
parent
c08273b4ad
commit
0aa8bde8af
@ -281,7 +281,7 @@ public class SuggestionRepository {
|
|||||||
securityContext,
|
securityContext,
|
||||||
operationContext,
|
operationContext,
|
||||||
new ResourceContext<>(entityLink.getEntityType(), entity.getId(), null));
|
new ResourceContext<>(entityLink.getEntityType(), entity.getId(), null));
|
||||||
repository.patch(null, entity.getId(), user, patch);
|
repository.patch(null, entity.getId(), user, patch, ChangeSource.SUGGESTED);
|
||||||
suggestion.setStatus(SuggestionStatus.Accepted);
|
suggestion.setStatus(SuggestionStatus.Accepted);
|
||||||
update(suggestion, user);
|
update(suggestion, user);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user