Browse Source

fix compilation

Mark Rousskov 3 years ago
parent
commit
b170449b7d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/github.rs

+ 1 - 1
src/github.rs

@@ -788,7 +788,7 @@ impl IssuesEvent {
             )
         } else if self.action == IssuesAction::Opened {
             if let Some(pr) = &self.pull_request {
-                (pr.base.clone(), pr.head.clone())
+                (pr.base.sha.clone(), pr.head.sha.clone())
             } else {
                 return Ok(None);
             }