Using ITEM_UPDATE to avoid bug #23899

This commit is contained in:
Luca Frosini 2022-09-22 12:10:16 +02:00
parent 8252055126
commit 5c5a4a84ab
1 changed files with 1 additions and 1 deletions

View File

@ -1433,7 +1433,7 @@ public class CKANPackage extends CKAN implements Moderated {
// Need to use sysadmin because the user could not have the right to modify the item
setApiKey(CKANUtility.getSysAdminAPI());
String ret = sendPostRequest(ITEM_PATCH, getAsString(result));
String ret = sendPostRequest(ITEM_UPDATE, getAsString(result));
// Resetting the api key
setApiKey(null);