mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-02-13 10:52:53 +00:00
do not send http header twice
This commit is contained in:
@@ -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 });
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user