Explorar o código

Fix wrong JSON deserialization for PR

apiraino %!s(int64=2) %!d(string=hai) anos
pai
achega
e3b1d89681
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/github.rs

+ 1 - 1
src/github.rs

@@ -303,7 +303,7 @@ pub struct Comment {
 }
 
 #[derive(Debug, serde::Deserialize, Eq, PartialEq)]
-#[serde(rename_all = "lowercase")]
+#[serde(rename_all = "snake_case")]
 pub enum PullRequestReviewState {
     Approved,
     ChangesRequested,