Skip to content

Commit

Permalink
move set upload_status to completed
Browse files Browse the repository at this point in the history
  • Loading branch information
mpwsh committed Oct 8, 2023
1 parent 5524332 commit d7b065b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d7b065b

Please sign in to comment.