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-09-03 15:27:00 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-03 15:27:00 +0200
commitc944babc9695cd012b4a032b7dd4224ec19003f2 (patch)
treebb8bdc42f5720045017846c7a41ac9ec0b6dae70 /api/src/routes/guilds/index.ts
parent:bug: fix member roles + list (diff)
downloadserver-c944babc9695cd012b4a032b7dd4224ec19003f2.tar.xz
:bug: fix #311
Diffstat (limited to 'api/src/routes/guilds/index.ts')
-rw-r--r--api/src/routes/guilds/index.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/api/src/routes/guilds/index.ts b/api/src/routes/guilds/index.ts
index b4f6b3d2..7c0b7abc 100644
--- a/api/src/routes/guilds/index.ts
+++ b/api/src/routes/guilds/index.ts
@@ -40,6 +40,8 @@ router.post("/", check(GuildCreateSchema), async (req: Request, res: Response) =
 		premium_tier: 0,
 		system_channel_flags: 0,
 		unavailable: false,
+		nsfw: false,
+		nsfw_level: 0,
 		verification_level: 0,
 		welcome_screen: {
 			enabled: false,