mirror of
https://github.com/MarSeventh/CloudFlare-ImgBed.git
synced 2026-01-31 09:03:19 +08:00
Bug:修复list接口渠道过滤失败问题
This commit is contained in:
@@ -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()
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user