Added socialPost=true to the 'approveItem' request
This commit is contained in:
parent
c0e0c2814c
commit
c124ed4177
|
@ -9,6 +9,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
|
|||
#### Enhancements
|
||||
|
||||
- [#23903] Catalogue Moderation: allow to send a message to the moderators on reject to pending operation
|
||||
- [#24519] Added social_post=true to approve request
|
||||
|
||||
## [v1.1.1] - 2022-10-27
|
||||
|
||||
|
|
|
@ -356,7 +356,7 @@ public class CkanContentModeratorServiceImpl extends RemoteServiceServlet implem
|
|||
List<String> approvedListItems = new ArrayList<String>();
|
||||
for (String itemName : itemNames) {
|
||||
try {
|
||||
cmsInstance.approveItem(itemName, moderatorMessage);
|
||||
cmsInstance.approveItem(itemName, moderatorMessage, true);
|
||||
approvedListItems.add(itemName);
|
||||
} catch (Exception e) {
|
||||
LOG.warn("Error when approving itemName: " + itemName, e);
|
||||
|
|
Loading…
Reference in New Issue