Skip to content

Commit

Permalink
client: return list also for single project
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaume committed Jan 12, 2023
1 parent 1b9b13b commit fc24b05
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 @@ -776,7 +776,7 @@ def query_projects(
query = query or {}

if self.project or "name" in query:
return self.get_project(name=query.get("name"), fields=fields)
return [self.get_project(name=query.get("name"), fields=fields)]

if term:
def search_future(search_term):
Expand Down

0 comments on commit fc24b05

Please sign in to comment.