Sfoglia il codice sorgente

Merge pull request #1497 from Mark-Simulacrum/fix-webhooks

Issue body can be null now
Mark Rousskov 3 anni fa
parent
commit
63166295b3
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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>,