Skip to content

Commit

Permalink
fix: the API returns one reviewer not reviewers (#390)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xB10C authored Jun 2, 2023
1 parent bda2651 commit 056fe6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/timelines.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ pub struct TimelineEvent {
#[serde(skip_serializing_if = "Option::is_none")]
pub pull_request_url: Option<Url>,
#[serde(skip_serializing_if = "Option::is_none")]
pub requested_reviewers: Option<Vec<Author>>,
pub requested_reviewer: Option<Author>,
#[serde(skip_serializing_if = "Option::is_none")]
pub review_requester: Option<Author>,
#[serde(skip_serializing_if = "Option::is_none")]
Expand Down

0 comments on commit 056fe6b

Please sign in to comment.