diff options
author | Intevel ツ <59223342+Intevel@users.noreply.github.com> | 2021-05-08 16:52:11 +0200 |
---|---|---|
committer | Intevel ツ <59223342+Intevel@users.noreply.github.com> | 2021-05-08 16:52:11 +0200 |
commit | 6b1205c2fcb31f48bed50ec5dd62d268d5c48bcd (patch) | |
tree | cda892a8a9360bfde21102c6f28a72b14e8b6620 /src/routes | |
parent | Update index.ts (diff) | |
download | server-6b1205c2fcb31f48bed50ec5dd62d268d5c48bcd.tar.xz |
Update index.ts
Diffstat (limited to 'src/routes')
-rw-r--r-- | src/routes/guilds/#guild_id/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/guilds/#guild_id/index.ts b/src/routes/guilds/#guild_id/index.ts index 4fd29f3d..18e6372e 100644 --- a/src/routes/guilds/#guild_id/index.ts +++ b/src/routes/guilds/#guild_id/index.ts @@ -90,7 +90,7 @@ router.get("/vanity-url", async (req: Request, res: Response) => { if(!guild.vanity_url) throw new HTTPError("This guild has no vanity url", 204) - return res.json(toObject(guild.vanity_url)); + return res.json(guild.vanity_url); }); export default router; |