fix: Update the home while updating profile

This commit is contained in:
MystiPanda 2024-04-04 15:07:55 +08:00
parent 60b5c54be1
commit 2ec841eb61

View File

@ -211,7 +211,7 @@ impl IProfiles {
if each.uid == some_uid {
each.extra = item.extra;
each.updated = item.updated;
each.home = item.home;
// save the file data
// move the field value after save
if let Some(file_data) = item.file_data.take() {