mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-05-15 22:48:00 +02:00
fix: allow to remove non-ready repository
This commit is contained in:
@@ -81,7 +81,7 @@ router.post(
|
|||||||
router.delete(
|
router.delete(
|
||||||
"/:repoId/",
|
"/:repoId/",
|
||||||
async (req: express.Request, res: express.Response) => {
|
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;
|
if (!repo) return;
|
||||||
try {
|
try {
|
||||||
const user = await getUser(req);
|
const user = await getUser(req);
|
||||||
|
|||||||
Reference in New Issue
Block a user