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
commitec83db3d4e11552eff7c0de83a9c2c404c0bb72c (patch)
treebc5315e18ec6147a76a5bf8b90f1342378205213 /api/src/routes/guilds/index.ts
parentadded all unittests for attachments (diff)
downloadserver-ec83db3d4e11552eff7c0de83a9c2c404c0bb72c.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,