summary refs log tree commit diff
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
commitb9bd5c5ac48b00f84da5e7f1a258f16fffd9dbd6 (patch)
treea75e04df28127b905e56ea769e48856fa7d2a151
parentWhoops, missed one (diff)
downloadserver-b9bd5c5ac48b00f84da5e7f1a258f16fffd9dbd6.tar.xz
Whoops
-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);