cusku::hooks::forgejo: Use IssueAttrs.numbers rather than Issue.number

Signed-off-by: pep <pep@bouah.net>
This commit is contained in:
pep 2025-04-19 14:28:33 +02:00
commit 14d03272dd
No known key found for this signature in database
GPG key ID: DEDA74AEECA9D0F2

View file

@ -30,7 +30,7 @@ impl From<FjIssueAction> for IssueAction {
impl From<FjIssue> for Issue {
fn from(other: FjIssue) -> Issue {
Issue {
id: other.number,
id: other.issue.number as u64,
action: Some(other.action.into()),
title: other.issue.title,
author: User {