1 files changed, 1 insertions, 1 deletions
diff --git a/api/src/routes/applications/#id/bot/index.ts b/api/src/routes/applications/#id/bot/index.ts
index 82c09c4d..a8a24d13 100644
--- a/api/src/routes/applications/#id/bot/index.ts
+++ b/api/src/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);
|