summary refs log tree commit diff
path: root/api/src/routes/guilds/index.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-19 21:28:57 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-19 21:28:57 +0200
commit4a7b933ccf763f7cda8478642e7ee397461290d8 (patch)
treecf6f997a40ba2eb0da5a7e76402ec77740a0d14e /api/src/routes/guilds/index.ts
parentadded all unittests for attachments (diff)
downloadserver-4a7b933ccf763f7cda8478642e7ee397461290d8.tar.xz
:bug: fix vanity url
Diffstat (limited to 'api/src/routes/guilds/index.ts')
-rw-r--r--api/src/routes/guilds/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/src/routes/guilds/index.ts b/api/src/routes/guilds/index.ts
index e0cb3325..92feed4e 100644
--- a/api/src/routes/guilds/index.ts
+++ b/api/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: undefined,
+		vanity_url_code: undefined,
 		verification_level: 0,
 		welcome_screen: {
 			enabled: false,