Specialcase workaround not use Zeit projects directly, we bill Agaric EK
This commit is contained in:
parent
08d3b5d8be
commit
db74250cf4
1 changed files with 3 additions and 1 deletions
|
@ -25,6 +25,8 @@ if (len(api_projects["projects"]) == 100):
|
||||||
|
|
||||||
projects = {}
|
projects = {}
|
||||||
for project in api_projects["projects"]:
|
for project in api_projects["projects"]:
|
||||||
projects[project["name"]] = project["client"]["name"]
|
# Specialcase workaround not use Zeit projects directly, we bill Agaric EK.
|
||||||
|
if not project["client"]["name"] == "ZEIT ONLINE":
|
||||||
|
projects[project["name"]] = project["client"]["name"]
|
||||||
|
|
||||||
settings.harvest_set_projects_clients_map(projects)
|
settings.harvest_set_projects_clients_map(projects)
|
||||||
|
|
Loading…
Reference in a new issue