forgejo-hooks: merged_at attribute is optional

Signed-off-by: pep <pep@bouah.net>
This commit is contained in:
pep 2025-10-29 16:25:53 +01:00
commit 9bcf1665a6
No known key found for this signature in database
GPG key ID: DEDA74AEECA9D0F2
3 changed files with 503 additions and 1 deletions

View file

@ -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,
}