Fix deserialization of repo create events
@@ -50,7 +50,11 @@ pub struct GitHubInstallation {
#[serde(default, skip_serializing_if = "Vec::is_empty")]
pub events: Vec<String>,
// created_at, updated_at
- #[serde(default, skip_serializing_if = "String::is_empty")]
+ #[serde(
+ default,
+ skip_serializing_if = "String::is_empty",
+ deserialize_with = "octorust::utils::deserialize_null_string::deserialize"
+ )]
pub single_file_name: String,
#[serde(default, skip_serializing_if = "String::is_empty")]
pub repository_selection: String,
