Using ITEM_UPDATE to avoid bug #23899
This commit is contained in:
parent
8252055126
commit
5c5a4a84ab
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue