Skip to content

Commit

Permalink
Add "merged" field to PullRequest (#737)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyle-leonhard authored Dec 4, 2024
1 parent 653814c commit fae5b08
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/models/pulls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ pub struct PullRequest {
#[serde(skip_serializing_if = "Option::is_none")]
pub mergeable_state: Option<MergeableState>,
#[serde(skip_serializing_if = "Option::is_none")]
pub merged: Option<bool>,
#[serde(skip_serializing_if = "Option::is_none")]
pub merged_at: Option<chrono::DateTime<chrono::Utc>>,
#[serde(skip_serializing_if = "Option::is_none")]
pub merged_by: Option<Box<Author>>,
Expand Down

0 comments on commit fae5b08

Please sign in to comment.