1
0
Fork 0

PullRequest's merge_commit_sha and merged_by can be null

This commit is contained in:
Cyborus 2023-12-10 01:14:13 -05:00
parent 0a07502dbc
commit 3c1675976c
No known key found for this signature in database

View file

@ -352,12 +352,12 @@ pub struct PullRequest {
pub is_locked: bool,
pub labels: Vec<Label>,
pub merge_base: String,
pub merge_commit_sha: String,
pub merge_commit_sha: Option<String>,
pub mergeable: bool,
pub merged: bool,
#[serde(with = "time::serde::rfc3339::option")]
pub merged_at: Option<time::OffsetDateTime>,
pub merged_by: User,
pub merged_by: Option<User>,
pub milestone: Option<Milestone>,
pub number: u64,
pub patch_url: Url,