Skip to content

Commit

Permalink
Merge pull request #9 from holaplex/mpw/completed-upload-metric
Browse files Browse the repository at this point in the history
move set upload_status to completed
  • Loading branch information
mpwsh authored Oct 8, 2023
2 parents 5524332 + d7b065b commit 398c46a
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 398c46a

Please sign in to comment.