Skip to content

Commit 36e5c27

Browse files
committed
Fix rfcbot and also deserialize concerns
1 parent c6fa165 commit 36e5c27

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/rfcbot.rs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,16 @@ pub struct Review {
2424
pub approved: bool,
2525
}
2626
#[derive(Serialize, Deserialize, Debug, Clone)]
27+
pub struct Concern {
28+
pub name: String,
29+
pub comment: StatusComment,
30+
pub reviewer: Reviewer,
31+
}
32+
#[derive(Serialize, Deserialize, Debug, Clone)]
2733
pub struct FCPIssue {
2834
pub id: u32,
2935
pub number: u32,
30-
pub fk_milestone: Option<String>,
36+
pub fk_milestone: Option<u32>,
3137
pub fk_user: u32,
3238
pub fk_assignee: Option<u32>,
3339
pub open: bool,
@@ -57,6 +63,7 @@ pub struct StatusComment {
5763
pub struct FullFCP {
5864
pub fcp: FCP,
5965
pub reviews: Vec<Review>,
66+
pub concerns: Vec<Concern>,
6067
pub issue: FCPIssue,
6168
pub status_comment: StatusComment,
6269
}

0 commit comments

Comments
 (0)