Skip to content

Commit

Permalink
remove 400s
Browse files Browse the repository at this point in the history
  • Loading branch information
jackkav committed Jan 9, 2024
1 parent 92b64bd commit c9da2e4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/routes/bins/update.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ module.exports = function (req, res, next) {
}
}
if (!mock) {
res.status(400);
res.body = {
errors: "Response HAR is required",
};
Expand All @@ -30,7 +29,6 @@ module.exports = function (req, res, next) {
const isPathSupported = isAlphanumericAndSlashes && !path.includes("//");

if (path && !isPathSupported) {
res.status(400);
res.body = {
errors: `Unsupported path ${path}`,
};
Expand Down

0 comments on commit c9da2e4

Please sign in to comment.