Skip to content

Commit

Permalink
change error code to 400
Browse files Browse the repository at this point in the history
  • Loading branch information
yvesfracari committed Oct 21, 2024
1 parent 3ceaee7 commit a66dc2a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ const root: FastifyPluginAsync = async (fastify): Promise<void> => {
);

if (simulationResult === null) {
reply.code(404).send({ message: 'Build simulation error' });
reply.code(400).send({ message: 'Build simulation error' });
return;
}
fastify.log.info(
Expand Down

0 comments on commit a66dc2a

Please sign in to comment.