Skip to content

Commit b98eb29

Browse files
committed
fix #16267
1 parent 8d3e228 commit b98eb29

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

kernel/api/storage.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,14 @@ func updateRecentDocCloseTime(c *gin.Context) {
293293
return
294294
}
295295

296+
if nil == arg["rootID"] {
297+
return
298+
}
296299
rootID := arg["rootID"].(string)
300+
if "" == rootID {
301+
return
302+
}
303+
297304
err := model.UpdateRecentDocCloseTime(rootID)
298305
if err != nil {
299306
ret.Code = -1

0 commit comments

Comments
 (0)