Skip to content

Commit fca4eec

Browse files
authored
Merge pull request #67 from wobcom/fix/fix-default
fix: Fix default for needs_confirmation
2 parents 4da30e4 + 4d5f5ce commit fca4eec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

vicky/src/bin/vicky/tasks.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ use crate::{
2323

2424
#[derive(Debug, PartialEq, Serialize, Deserialize)]
2525
pub struct RoTaskNew {
26+
#[serde(default)] // This will be false, if not given.
2627
needs_confirmation: bool,
2728
display_name: String,
2829
flake_ref: FlakeRef,

0 commit comments

Comments
 (0)