summary refs log tree commit diff
path: root/src/api/routes
diff options
context:
space:
mode:
authorChrisChrome <christophercookman@gmail.com>2022-08-10 04:50:29 -0600
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-12-18 22:44:17 +1100
commit44c21039a37e7e60415ebf30650394d2976cf9ca (patch)
tree8d2fcd23ae773f0bc783f132f1e08e5d2041e15c /src/api/routes
parentWhoops, missed one (diff)
downloadserver-44c21039a37e7e60415ebf30650394d2976cf9ca.tar.xz
Whoops
Diffstat (limited to 'src/api/routes')
-rw-r--r--src/api/routes/applications/#id/bot/index.ts2
1 files changed, 1 insertions, 1 deletions
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);