diff options
author | ChrisChrome <christophercookman@gmail.com> | 2022-08-10 04:50:29 -0600 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-12-18 22:44:17 +1100 |
commit | 44c21039a37e7e60415ebf30650394d2976cf9ca (patch) | |
tree | 8d2fcd23ae773f0bc783f132f1e08e5d2041e15c | |
parent | Whoops, missed one (diff) | |
download | server-44c21039a37e7e60415ebf30650394d2976cf9ca.tar.xz |
Whoops
-rw-r--r-- | src/api/routes/applications/#id/bot/index.ts | 2 |
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); |