summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPietro Albini <pietro@pietroalbini.org>2019-07-17 12:07:25 +0200
committerPietro Albini <pietro@pietroalbini.org>2019-07-17 15:28:49 +0200
commit9a1c14813f3d66965e14e3570a2f3a96433e1bc6 (patch)
tree175fbe32780a505f7b5e595511e77db176eb9f70 /src
parent9c657f238d9a1354536dcb0a2e89adf5dd6cef4b (diff)
synchronize the release team with github
Diffstat (limited to 'src')
-rw-r--r--src/schema.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/schema.rs b/src/schema.rs
index 779e86c..fd91120 100644
--- a/src/schema.rs
+++ b/src/schema.rs
@@ -223,7 +223,7 @@ impl Team {
pub(crate) fn github_teams(&self) -> Vec<(&str, &str)> {
if let Some(github) = &self.github {
let name = github
- .name
+ .team_name
.as_ref()
.map(|n| n.as_str())
.unwrap_or(&self.name);
@@ -250,7 +250,7 @@ struct TeamPeople {
#[derive(serde::Deserialize, Debug)]
#[serde(rename_all = "kebab-case", deny_unknown_fields)]
struct GitHubData {
- name: Option<String>,
+ team_name: Option<String>,
orgs: Vec<String>,
}