mirror of
https://github.com/HChaZZY/alist.git
synced 2025-12-26 12:06:37 +08:00
🎇 execute save while delete account
This commit is contained in:
@@ -48,6 +48,9 @@ func (driver Shandian) Items() []base.Item {
|
||||
}
|
||||
|
||||
func (driver Shandian) Save(account *model.Account, old *model.Account) error {
|
||||
if account == nil {
|
||||
return nil
|
||||
}
|
||||
if account.RootFolder == "" {
|
||||
account.RootFolder = "0"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user