fix: restore batch delete error handling syntax

This commit is contained in:
MarSeventh
2026-07-23 11:38:13 +08:00
parent 5dc01907d7
commit b259bb52ea
+1
View File
@@ -13,6 +13,7 @@ const corsHeaders = {
};
export async function onRequestPost(context) {
try {
const payload = await context.request.json();
const fileIds = normalizeBatchFileIds(payload?.fileIds, MAX_BATCH_SIZE);
if (fileIds.length === 0) {