Feature seems properly working

This commit is contained in:
Luca Frosini 2024-09-03 12:22:24 +02:00
parent 38ea17dc1f
commit e9f3f8c5ba
1 changed files with 2 additions and 2 deletions

View File

@ -516,8 +516,8 @@ public class CKANResource extends CKAN {
getPreviousRepresentation();
URL url = new URL(previousRepresentation.get(URL_KEY).asText());
mimeType = previousRepresentation.get(MIME_TYPE_KEY).asText();
deleteStorageResource(url, resourceID, mimeType);
// STILL TO BE TESTED deleteStorageResource(url);
//deleteStorageResource(url, resourceID, mimeType);
deleteStorageResource(url);
} catch(Exception e) {
logger.error("Unable to delete resource {}",
previousRepresentation != null ? getAsString(previousRepresentation) : "");