Bug:修复list接口渠道过滤失败问题

This commit is contained in:
MarSeventh
2025-09-15 10:09:34 +08:00
parent 664bd1fdca
commit abfa043d1a

View File

@@ -509,7 +509,7 @@ export async function readIndex(context, options = {}) {
// 渠道过滤
if (channel) {
filteredFiles = filteredFiles.filter(file =>
file.metadata.Channel.toLowerCase() === channel.toLowerCase()
file.metadata.Channel?.toLowerCase() === channel.toLowerCase()
);
}