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