diff --git a/packages/backend/src/api/v1/projects/index.ts b/packages/backend/src/api/v1/projects/index.ts index 584df166..76467d7e 100644 --- a/packages/backend/src/api/v1/projects/index.ts +++ b/packages/backend/src/api/v1/projects/index.ts @@ -91,6 +91,7 @@ projects.delete("/:projectId", async (ctx: Context) => { await sql`delete from project where id = ${projectId}` ctx.status = 200 ctx.body = {} + return } else { ctx.status = 422