From 72b7eeca28252c78e63988e83716ed47ed57f456 Mon Sep 17 00:00:00 2001 From: Sam Poder <39828164+sampoder@users.noreply.github.com> Date: Sat, 25 Feb 2023 09:58:26 +0800 Subject: [PATCH] Update new.ts --- api/v1/new.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/v1/new.ts b/api/v1/new.ts index a54c9e4..c950a8d 100644 --- a/api/v1/new.ts +++ b/api/v1/new.ts @@ -83,6 +83,8 @@ export default async (req: Request) => { console.log(decoder.decode(buf)) console.log(buf) const fileURLs = decoder.decode(buf); + console.log(fileURLs) + console.log(typeof fileURLs) if (!Array.isArray(fileURLs) || fileURLs.length < 1) { return new Response( JSON.stringify({ error: "Empty file array" }),