Skip to content

Commit

Permalink
client: fix typo (#781)
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaume authored Oct 6, 2021
1 parent 439c15b commit 139610d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mpcontribs-client/mpcontribs/client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -905,7 +905,7 @@ def get_totals(
query = query or {}
skip_keys = {"per_page", "_fields", "format"}
query = {k: v for k, v in query.items() if k not in skip_keys}
query["_fields"] = ["_id"]
query["_fields"] = ["id"]
queries = self._split_query(query, resource=resource, op=op) # don't paginate
result = {"total_count": 0, "total_pages": 0}
futures = [self._get_future(i, q, rel_url=resource) for i, q in enumerate(queries)]
Expand Down

0 comments on commit 139610d

Please sign in to comment.