From 2e5ffc2d5f11366077894b939ccaea848cb587dc Mon Sep 17 00:00:00 2001 From: Massimiliano Assante Date: Tue, 12 Nov 2024 15:18:28 +0100 Subject: [PATCH] Update src/main/java/org/gcube/data/access/storagehub/services/ItemsCreator.java changed param name from stream to file in method createFileItem to fix the docs --- .../org/gcube/data/access/storagehub/services/ItemsCreator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/gcube/data/access/storagehub/services/ItemsCreator.java b/src/main/java/org/gcube/data/access/storagehub/services/ItemsCreator.java index 055ca03..0cf1fa4 100644 --- a/src/main/java/org/gcube/data/access/storagehub/services/ItemsCreator.java +++ b/src/main/java/org/gcube/data/access/storagehub/services/ItemsCreator.java @@ -259,7 +259,7 @@ public class ItemsCreator extends Impersonable{ @Path("/{id}/create/FILE") public String createFileItem(@PathParam("id") String id, @FormDataParam("name") String name, @FormDataParam("description") String description, - @FormDataParam("file") InputStream stream, + @FormDataParam("file") InputStream file, @FormDataParam("file") FormDataContentDisposition fileDetail){ InnerMethodName.set("createItem(FILE)");