From 817c704efc7bc878d598086122eeab76ad75f403 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Tue, 16 Aug 2022 16:47:51 +0300 Subject: [PATCH] repo/fs: support of update group --- src/repo/fs.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/repo/fs.rs b/src/repo/fs.rs index 6b8ed3e..3261316 100644 --- a/src/repo/fs.rs +++ b/src/repo/fs.rs @@ -106,6 +106,10 @@ impl Repository for FsRepo { task.link = link; } + if let Some(group) = update_data.group { + task.group = group; + } + let new_task = task.clone(); self.save_tasks_impl(tasks)?;