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

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