summaryrefslogtreecommitdiffstats
path: root/src/schema.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/schema.rs')
-rw-r--r--src/schema.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/schema.rs b/src/schema.rs
index 87663cd..de30b08 100644
--- a/src/schema.rs
+++ b/src/schema.rs
@@ -162,11 +162,14 @@ struct TeamPeople {
}
#[derive(serde_derive::Deserialize, Debug)]
-#[serde(deny_unknown_fields)]
+#[serde(rename_all = "kebab-case", deny_unknown_fields)]
pub(crate) struct WebsiteData {
name: String,
description: String,
email: Option<String>,
+ repo: Option<String>,
+ discord_invite: Option<String>,
+ discord_name: Option<String>,
}
#[derive(serde_derive::Deserialize, Debug)]