From 7d01d04547fcf0fa68dffccb3640f04480e4761e Mon Sep 17 00:00:00 2001 From: MarSeventh <1193267292@qq.com> Date: Tue, 28 Apr 2026 23:25:22 +0800 Subject: [PATCH] fix: skip records without timestamps in batch list --- functions/api/manage/batch/list.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/api/manage/batch/list.js b/functions/api/manage/batch/list.js index d7a986b6..18e7fabd 100644 --- a/functions/api/manage/batch/list.js +++ b/functions/api/manage/batch/list.js @@ -116,8 +116,8 @@ export async function onRequestGet(context) { continue; } - // 跳过没有元数据的文件 - if (!item.metadata) { + // 跳过没有元数据或有效时间戳的记录 + if (!item.metadata || !item.metadata.TimeStamp) { continue; }