diff options
Diffstat (limited to 'src/api/routes/users/@me/index.ts')
-rw-r--r-- | src/api/routes/users/@me/index.ts | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/api/routes/users/@me/index.ts b/src/api/routes/users/@me/index.ts index abfb333a..5738776f 100644 --- a/src/api/routes/users/@me/index.ts +++ b/src/api/routes/users/@me/index.ts @@ -36,9 +36,6 @@ router.patch( select: [...PrivateUserProjection, "data"], }); - if (user.email == "demo@maddy.k.vu") - throw new HTTPError("Demo user, sorry", 400); - if (body.avatar) body.avatar = await handleFile( `/avatars/${req.user_id}`, |