mirror of
https://github.com/ZSCGR/CloudFlare-ImgBed.git
synced 2026-08-22 00:23:44 +08:00
fix: skip records without timestamps in batch list
This commit is contained in:
@@ -116,8 +116,8 @@ export async function onRequestGet(context) {
|
||||
continue;
|
||||
}
|
||||
|
||||
// 跳过没有元数据的文件
|
||||
if (!item.metadata) {
|
||||
// 跳过没有元数据或有效时间戳的记录
|
||||
if (!item.metadata || !item.metadata.TimeStamp) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user