From db74250cf42be7310fb8e4efc3fa93046cb8f64a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Melan=C3=A7on?= Date: Fri, 8 Oct 2021 19:25:08 -0400 Subject: [PATCH] Specialcase workaround not use Zeit projects directly, we bill Agaric EK --- fetch_clients_projects.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fetch_clients_projects.py b/fetch_clients_projects.py index fe4fab8..9372f24 100644 --- a/fetch_clients_projects.py +++ b/fetch_clients_projects.py @@ -25,6 +25,8 @@ if (len(api_projects["projects"]) == 100): 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)