Explorar el Código

Issue body can be null now

Mark Rousskov hace 3 años
padre
commit
15d15e6805
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/github.rs

+ 1 - 0
src/github.rs

@@ -245,6 +245,7 @@ pub struct PullRequestDetails {
 #[derive(Debug, serde::Deserialize)]
 pub struct Issue {
     pub number: u64,
+    #[serde(default)]
     pub body: String,
     created_at: chrono::DateTime<Utc>,
     pub updated_at: chrono::DateTime<Utc>,