fixed a typo

This commit is contained in:
BuildTools 2021-08-07 11:20:20 +03:00
parent 43a38ba46c
commit 46bcebcc92

View File

@ -10,7 +10,7 @@ router.get("/", async (req: Request, res: Response) => {
const guild = await GuildModel.findOne({ id: guild_id }).exec();
if (!guild.vanity_url) throw new HTTPError("This guild has no vanity url", 204);
return res.json({ vanity_ur: guild.vanity_url });
return res.json({ vanity_url: guild.vanity_url });
});
export default router;