Update index.ts

This commit is contained in:
Intevel ツ 2021-05-08 16:52:11 +02:00
parent f9e66f6d1d
commit 6b1205c2fc

View File

@ -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) 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; export default router;