From 24e5efd391eab91f2afce06f01095b7d2c1e065f Mon Sep 17 00:00:00 2001 From: Ismail Sunni Date: Mon, 8 May 2023 14:14:24 +0700 Subject: [PATCH] Update limit of resource api. --- qgis_hub_plugin/core/api_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qgis_hub_plugin/core/api_client.py b/qgis_hub_plugin/core/api_client.py index e18385d..63bc002 100644 --- a/qgis_hub_plugin/core/api_client.py +++ b/qgis_hub_plugin/core/api_client.py @@ -9,7 +9,7 @@ def get_all_resources(params: dict = {}, force_update=False): params["format"] = "json" - params["limit"] = 200 # hardcoded to get all resource, currently only 160 + params["limit"] = 1000 # hardcoded to get all resource, currently only ~160 # Check if the response file exits response_folder = Path(QgsApplication.qgisSettingsDirPath(), "qgis_hub")