diff options
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; |