Skip to content

Commit e8a6054

Browse files
committed
remove unneccesary status code
1 parent 1872277 commit e8a6054

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

routes/bake.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,11 @@ router.post("/", async function bakePost(req, res, next) {
2323
dish.get(req.body.outputType);
2424
}
2525

26-
res.status(200).send({
26+
res.send({
2727
value: dish.value,
2828
type: Dish.enumLookup(dish.type),
2929
});
30+
3031
} catch (e) {
3132
next(e);
3233
}

0 commit comments

Comments
 (0)