forgejo-hooks: merged_at attribute is optional
Signed-off-by: pep <pep@bouah.net>
This commit is contained in:
parent
9d43e6085d
commit
9bcf1665a6
3 changed files with 503 additions and 1 deletions
|
|
@ -233,7 +233,7 @@ pub enum IssueState {
|
|||
#[derive(Deserialize, Debug, PartialEq)]
|
||||
pub struct PullRequestMeta {
|
||||
pub merged: bool,
|
||||
pub merged_at: DateTime<Utc>,
|
||||
pub merged_at: Option<DateTime<Utc>>,
|
||||
pub draft: bool,
|
||||
pub html_url: String,
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue