summary refs log tree commit diff
path: root/src/routes
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-05-09 17:41:34 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-05-09 17:41:34 +0200
commitddde476319d614b5d41abfd969000b88b29bf5b1 (patch)
treeca042442d9f1ad4897d4eb2797aa70437cb4a0f1 /src/routes
parentadd opencollective (diff)
downloadserver-ddde476319d614b5d41abfd969000b88b29bf5b1.tar.xz
:bug: fix Guild vanity_url
Diffstat (limited to 'src/routes')
-rw-r--r--src/routes/guilds/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/guilds/index.ts b/src/routes/guilds/index.ts
index 091e572a..a655f890 100644
--- a/src/routes/guilds/index.ts
+++ b/src/routes/guilds/index.ts
@@ -53,7 +53,7 @@ router.post("/", check(GuildCreateSchema), async (req: Request, res: Response) =
 		system_channel_flags: 0,
 		system_channel_id: undefined,
 		unavailable: false,
-		vanity_url_code: undefined,
+		vanity_url: undefined,
 		verification_level: 0,
 		welcome_screen: {
 			enabled: false,