Skip to content

Commit 7d0d3ee

Browse files
committed
Fix canceled_tasks being required
1 parent b175a09 commit 7d0d3ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tasks.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ pub struct IndexSwap {
108108
#[serde(rename_all = "camelCase")]
109109
pub struct TaskCancelation {
110110
pub matched_tasks: usize,
111-
pub canceled_tasks: usize,
111+
pub canceled_tasks: Option<usize>,
112112
pub original_filter: String,
113113
}
114114

0 commit comments

Comments
 (0)