From c0e947d2ac0c047426032672858038fac1c391be Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Sat, 8 Nov 2025 23:11:02 +0800 Subject: [PATCH] :art: Improve recent doc Signed-off-by: Daniel <845765@qq.com> --- kernel/api/storage.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kernel/api/storage.go b/kernel/api/storage.go index 0cd1a7de2..fa223bc61 100644 --- a/kernel/api/storage.go +++ b/kernel/api/storage.go @@ -293,6 +293,10 @@ func updateRecentDocCloseTime(c *gin.Context) { return } + if nil == arg["rootID"] { + return + } + rootID := arg["rootID"].(string) err := model.UpdateRecentDocCloseTime(rootID) if err != nil {