Skip to content

Commit 2edc6ea

Browse files
maflckoMarcoFalke
andauthored
fix!: change some fields to optional types in CheckSuite struct (#784)
Co-authored-by: MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>
1 parent db8282a commit 2edc6ea

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/models/checks.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@ pub struct ListCheckRuns {
4242
pub struct CheckSuite {
4343
pub id: CheckSuiteId,
4444
pub node_id: String,
45-
pub head_branch: String,
45+
pub head_branch: Option<String>,
4646
pub head_sha: String,
4747
pub status: Option<String>,
4848
pub conclusion: Option<String>,
49-
pub url: String,
50-
pub before: String,
51-
pub after: String,
49+
pub url: Option<String>,
50+
pub before: Option<String>,
51+
pub after: Option<String>,
5252
app: Option<App>,
5353
pub repository: Repository,
5454
pub created_at: chrono::DateTime<chrono::Utc>,

0 commit comments

Comments
 (0)