Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
chore: rm useless test
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Bouquillon committed Jul 31, 2019
1 parent 519a510 commit e9ba834
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const sirets = parseWeez(fs.readFileSync(inFile).toString());

app.get("/api/v1/:siret", (req, res) => {
const siret = req.params.siret;
if (!siret || siret === "" || siret.length != 14) {
if (!siret || siret.length != 14) {
return res
.status(422)
.json({ error: "invalid SIRET given in the request" });
Expand Down

0 comments on commit e9ba834

Please sign in to comment.