Skip to content

Commit

Permalink
client: use comma-separated list of projects
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaume committed Nov 28, 2023
1 parent 00a51a0 commit efa92d3
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 @@ -718,7 +718,7 @@ def _raw_specs(protocol, host, version):
def _expand_params(protocol, host, version, projects_json):
columns = {"string": [], "number": []}
projects = ujson.loads(projects_json)
query = {"project__in": projects}
query = {"project__in": ",".join(projects)}
query["_fields"] = ["columns"]
url = f"{protocol}://{host}"
http_client = RequestsClient()
Expand Down

0 comments on commit efa92d3

Please sign in to comment.