fix: allow to remove non-ready repository

This commit is contained in:
tdurieux
2021-09-07 12:10:50 +02:00
parent 7a44a42331
commit bacb6ed5e3

View File

@@ -81,7 +81,7 @@ router.post(
router.delete(
"/:repoId/",
async (req: express.Request, res: express.Response) => {
const repo = await getRepo(req, res, { nocheck: false });
const repo = await getRepo(req, res, { nocheck: true });
if (!repo) return;
try {
const user = await getUser(req);