From ae692632a5cfc4dead92a37ff0fe1ceb5b8016ea Mon Sep 17 00:00:00 2001 From: PiEgg Date: Thu, 12 Aug 2021 22:17:14 +0800 Subject: [PATCH] :bug: Fix: upload clipboard images via http should return list ISSUES CLOSED: #721 --- src/main/server/routerManager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/server/routerManager.ts b/src/main/server/routerManager.ts index 030cc35c2..251de1654 100644 --- a/src/main/server/routerManager.ts +++ b/src/main/server/routerManager.ts @@ -29,7 +29,7 @@ router.post('/upload', async ({ response, body: { success: true, - result: res + result: [res] } }) } else {