mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-05-15 14:38:03 +02:00
fix typos
This commit is contained in:
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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 });
|
||||
Reference in New Issue
Block a user