fixed called method
This commit is contained in:
parent
099aefc4f5
commit
e6856b7653
|
@ -239,6 +239,7 @@ public class Item extends REST<CKANPackage> implements org.gcube.gcat.api.interf
|
||||||
}
|
}
|
||||||
|
|
||||||
if(countOnly) {
|
if(countOnly) {
|
||||||
|
setCalledMethod("GET /" + COLLECTION_PARAMETER);
|
||||||
CKANPackage ckan = getInstance();
|
CKANPackage ckan = getInstance();
|
||||||
int size = ckan.count();
|
int size = ckan.count();
|
||||||
return createCountJson(size);
|
return createCountJson(size);
|
||||||
|
|
Loading…
Reference in New Issue