summary refs log tree commit diff
path: root/api
diff options
context:
space:
mode:
authorChrisChrome <christophercookman@gmail.com>2022-08-10 04:50:29 -0600
committerChrisChrome <christophercookman@gmail.com>2022-08-10 04:50:29 -0600
commit5974acc91e80aae47006ad54808bc83169cd0d86 (patch)
tree65a8a7fc9bbda649fc133a4e5bd42ce789c66309 /api
parentWhoops, missed one (diff)
downloadserver-5974acc91e80aae47006ad54808bc83169cd0d86.tar.xz
Whoops
Diffstat (limited to 'api')
-rw-r--r--api/src/routes/applications/#id/bot/index.ts2
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);