diff --git a/ckanext/search_tweaks/query_popularity/logic/action.py b/ckanext/search_tweaks/query_popularity/logic/action.py index 814b742..94c87e8 100644 --- a/ckanext/search_tweaks/query_popularity/logic/action.py +++ b/ckanext/search_tweaks/query_popularity/logic/action.py @@ -25,11 +25,10 @@ def search_tweaks_query_popularity_list( @tk.side_effect_free def search_tweaks_query_popularity_export( context: types.Context, data_dict: dict[str, Any] -) -> dict[str, Any]: +) -> list[Any]: score = Score() - results = score.export() - return {"snapshot": results} + return score.export() @validate(schema.query_popularity_import) diff --git a/setup.cfg b/setup.cfg index 4042377..9e97077 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = ckanext-search-tweaks -version = 0.6.1a2 +version = 0.6.1a3 description = long_description = file: README.md long_description_content_type = text/markdown