Specialcase workaround not use Zeit projects directly, we bill Agaric EK

This commit is contained in:
benjamin melançon 2021-10-08 19:25:08 -04:00
parent 08d3b5d8be
commit db74250cf4

View file

@ -25,6 +25,8 @@ if (len(api_projects["projects"]) == 100):
projects = {}
for project in api_projects["projects"]:
# 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)