do not send http header twice

This commit is contained in:
tdurieux
2021-05-03 14:49:53 +02:00
parent 7704bb0c5b
commit be679286af

View File

@@ -360,9 +360,6 @@ router.post("/", async (req, res) => {
} catch (error) {
console.error(req.path, error);
await repoUtils.updateStatus(repoConfig, "error", "unable_to_anonymize");
return res
.status(500)
.json({ error: "unable_to_anonymize", message: error.message });
}
});