Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
TShapinsky committed Dec 15, 2023
1 parent 6d9ba42 commit 4bc7570
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion alfalfa_web/server/api-v2.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ router.param("modelId", (req, res, next, id) => {
id: "required|uuid"
}
);
if (error) return res.status(400).json({ error });
if (error) return res.status(400).json({ message: error });
api
.getModelById(id)
.then((model) => {
Expand Down
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4bc7570

Please sign in to comment.