fix typos

This commit is contained in:
tdurieux
2021-04-06 17:45:36 +02:00
parent b653f37920
commit cf17e1c456
18 changed files with 66 additions and 68 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ async function anonymizeRepository(options) {
console.error("Error while updating the repository.");
console.error(error);
}
await repoUtils.updateAnonimizedRepository(repoConfig);
await repoUtils.updateAnonymizedRepository(repoConfig);
}
await githubUtils.downloadRepoAndAnonymize(repoConfig);
}
+1 -1
View File
@@ -135,7 +135,7 @@ router.post("/:repoId/refresh", async (req, res) => {
return res.status(401).json({ error: "not_authorized" });
}
try {
await repoUtils.updateAnonimizedRepository(repoConfig);
await repoUtils.updateAnonymizedRepository(repoConfig);
return res.send("ok");
} catch (error) {
return res.status(500).json({ error });