repo/fs: support of update group
This commit is contained in:
parent
7f8ddd8d2a
commit
817c704efc
1 changed files with 4 additions and 0 deletions
|
@ -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)?;
|
||||
|
|
Loading…
Reference in a new issue