|
|
|
@ -75,7 +75,7 @@ public class Item extends GCatClient implements org.gcube.gcat.api.interfaces.It
|
|
|
|
|
public String create(String json, boolean socialPost) throws WebApplicationException {
|
|
|
|
|
try {
|
|
|
|
|
Map<String,String> queryParams = new HashMap<>();
|
|
|
|
|
queryParams.put(GCatConstants.SOCIAL_POST_PARAMETER, String.valueOf(socialPost));
|
|
|
|
|
queryParams.put(GCatConstants.SOCIAL_POST_QUERY_PARAMETER, String.valueOf(socialPost));
|
|
|
|
|
return super.create(json, queryParams);
|
|
|
|
|
}catch (WebApplicationException e) {
|
|
|
|
|
throw e;
|
|
|
|
|