From d7b065b927b8117252be46f5360edd2e37cef38a Mon Sep 17 00:00:00 2001 From: mpw Date: Sun, 8 Oct 2023 12:32:17 -0300 Subject: [PATCH] move set upload_status to completed --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index 01d8df0..dec0f70 100644 --- a/server.js +++ b/server.js @@ -165,8 +165,8 @@ fastify.post( const results = await uploader.upload(buffer, "application/json"); reply.send(results); - upload_status = "COMPLETED"; } + upload_status = "COMPLETED"; } catch (err) { fastify.log.error(err); // Send upload error as response if any error occurs