Skip to content

Commit

Permalink
chore: consistent snapshot output
Browse files Browse the repository at this point in the history
  • Loading branch information
smotornyuk committed Nov 24, 2023
1 parent c6aabdb commit c31bd8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ckanext/search_tweaks/query_popularity/logic/action.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def search_tweaks_query_popularity_export(
score = Score()

results = score.export()
return {"results": results, "count": len(results)}
return {"snapshot": results}


@validate(schema.query_popularity_import)
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = ckanext-search-tweaks
version = 0.6.1a1
version = 0.6.1a2
description =
long_description = file: README.md
long_description_content_type = text/markdown
Expand Down

0 comments on commit c31bd8c

Please # to comment.