mirror of
https://github.com/OpenListTeam/OpenList.git
synced 2026-05-06 15:20:32 +08:00
fix(op): invalidate new path cache on meta path update (#2322)
This commit is contained in:
@@ -78,6 +78,7 @@ func UpdateMeta(u *model.Meta) error {
|
||||
return err
|
||||
}
|
||||
metaCache.Del(old.Path)
|
||||
metaCache.Del(u.Path)
|
||||
return db.UpdateMeta(u)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user