fix: User not &User

This commit is contained in:
Rudxain 2024-12-14 11:11:15 -04:00
commit c172baede7
No known key found for this signature in database
GPG key ID: 0DAC837DDEF8E96C

View file

@ -153,7 +153,7 @@ pub fn restore_backup(
let p_commands = apply_pkg_state_commands(
&package,
backup_package.state,
&settings
settings
.backup
.selected_user
.ok_or("field should be Some type")?,