Fixed GCat constant
This commit is contained in:
parent
f258ff80a2
commit
786bbc337f
|
@ -100,8 +100,6 @@ public class CKANPackage extends CKAN {
|
|||
// The 'results' array is included in the 'result' object for package_search
|
||||
private static final String RESULTS_KEY = "results";
|
||||
|
||||
private static final String COUNT_KEY = "count";
|
||||
|
||||
protected static final String PRIVATE_KEY = "private";
|
||||
protected static final String SEARCHABLE_KEY = "searchable";
|
||||
protected static final String CAPACITY_KEY = "capacity";
|
||||
|
@ -347,7 +345,7 @@ public class CKANPackage extends CKAN {
|
|||
|
||||
sendGetRequest(LIST, parameters);
|
||||
|
||||
int count = result.get(COUNT_KEY).asInt();
|
||||
int count = result.get(GCatConstants.COUNT_KEY).asInt();
|
||||
return count;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue