mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-30 20:06:19 +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,
|
||||
operationContext,
|
||||
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);
|
||||
update(suggestion, user);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user