From 44c21039a37e7e60415ebf30650394d2976cf9ca Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Wed, 10 Aug 2022 04:50:29 -0600 Subject: Whoops --- src/api/routes/applications/#id/bot/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/api') diff --git a/src/api/routes/applications/#id/bot/index.ts b/src/api/routes/applications/#id/bot/index.ts index 80907940..ad2399b8 100644 --- a/src/api/routes/applications/#id/bot/index.ts +++ b/src/api/routes/applications/#id/bot/index.ts @@ -74,7 +74,7 @@ router.post("/reset", route({}), async (req: Request, res: Response) => { }); router.patch("/", route({}), async (req: Request, res: Response) => { - delete req.body.icon; + delete req.body.avatar; let app = OrmUtils.mergeDeep(await User.findOne({where: {id: req.params.id}}), req.body); await app.save(); res.json(app).status(200); -- cgit 1.4.1