1 files changed, 0 insertions, 2 deletions
diff --git a/src/api/routes/applications/#id/index.ts b/src/api/routes/applications/#id/index.ts
index 11cd5a56..6ed602f1 100644
--- a/src/api/routes/applications/#id/index.ts
+++ b/src/api/routes/applications/#id/index.ts
@@ -71,8 +71,6 @@ router.post("/delete", route({}), async (req: Request, res: Response) => {
)
throw new HTTPError(req.t("auth:login.INVALID_TOTP_CODE"), 60008);
- if (app.bot) await User.delete({ id: app.bot.id });
-
await Application.delete({ id: app.id });
res.send().status(200);
|