Fixing extras removal refs #23921
This commit is contained in:
parent
fc80d7912d
commit
099aefc4f5
|
@ -992,7 +992,9 @@ public class CKANPackage extends CKAN implements Moderated {
|
||||||
((ObjectNode) jsonNode).replace(RESOURCES_KEY, resourcesToBeSend);
|
((ObjectNode) jsonNode).replace(RESOURCES_KEY, resourcesToBeSend);
|
||||||
}
|
}
|
||||||
|
|
||||||
addItemURLViaResolver(jsonNode);
|
if(jsonNode.has(EXTRAS_KEY)) {
|
||||||
|
addItemURLViaResolver(jsonNode);
|
||||||
|
}
|
||||||
|
|
||||||
sendPostRequest(ITEM_PATCH, getAsString(jsonNode));
|
sendPostRequest(ITEM_PATCH, getAsString(jsonNode));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue