repo/fs: support of update group

This commit is contained in:
Dmitriy Pleshevskiy 2022-08-16 16:47:51 +03:00
parent 7f8ddd8d2a
commit 817c704efc
Signed by: pleshevskiy
GPG Key ID: 1B59187B161C0215
1 changed files with 4 additions and 0 deletions

View File

@ -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)?;