Skip to content

Commit

Permalink
Update limit of resource api.
Browse files Browse the repository at this point in the history
  • Loading branch information
ismailsunni committed May 8, 2023
1 parent 4e08e58 commit 24e5efd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qgis_hub_plugin/core/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 24e5efd

Please sign in to comment.