fix: fix previous fix
This commit is contained in:
parent
b50c28023a
commit
b49de74a4b
@ -38,7 +38,7 @@ const allBoxesFromDate: RequestHandler<{ date: string; }> = async (req, res) =>
|
||||
res.render('boxes.ejs', { boxes });
|
||||
};
|
||||
|
||||
const boxAddPieces: RequestHandler<{ title: string; }> = async (req, res) => {
|
||||
const boxAddPieces: RequestHandler<{ title: string|number; }> = async (req, res) => {
|
||||
const boxEither: Either<Box, string> = await boxService.getBox(req.params.title);
|
||||
|
||||
if (boxEither.hasRight) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user