From 2a18f558ee52dada4cd6a3adbe66a453dc0ffdd0 Mon Sep 17 00:00:00 2001 From: Joao Eduardo Luis Date: Sun, 3 Dec 2023 23:57:04 +0000 Subject: [PATCH] models/timelines: make dismissal_message optional Signed-off-by: Joao Eduardo Luis --- src/models/timelines.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/timelines.rs b/src/models/timelines.rs index 96d78dfa..6a7e502d 100644 --- a/src/models/timelines.rs +++ b/src/models/timelines.rs @@ -90,7 +90,7 @@ pub struct TimelineEvent { pub struct DismissedReview { state: pulls::ReviewState, review_id: ReviewId, - dismissal_message: String, + dismissal_message: Option, dismissal_commit_id: Option, }