fix(op): invalidate new path cache on meta path update (#2322)

This commit is contained in:
Jealous
2026-04-09 09:32:18 +08:00
committed by GitHub
parent e11b8a82e7
commit da26e72bee

View File

@@ -78,6 +78,7 @@ func UpdateMeta(u *model.Meta) error {
return err
}
metaCache.Del(old.Path)
metaCache.Del(u.Path)
return db.UpdateMeta(u)
}