summary refs log tree commit diff
path: root/api/src
diff options
context:
space:
mode:
authorPuyodead1 <23562356riley@gmail.com>2022-07-25 23:02:04 -0400
committerErkin Alp Güney <erkinalp9035@gmail.com>2022-07-26 10:08:12 +0300
commit9ab01e040495b60d4f29217191d3ae9ee774608c (patch)
tree9257dab3112b5409423075c95f5c74439b526adc /api/src
parentBump file-type from 16.5.3 to 16.5.4 in /bundle (#802) (diff)
downloadserver-9ab01e040495b60d4f29217191d3ae9ee774608c.tar.xz
fix: not being able to enable community
Diffstat (limited to 'api/src')
-rw-r--r--api/src/routes/guilds/#guild_id/index.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/api/src/routes/guilds/#guild_id/index.ts b/api/src/routes/guilds/#guild_id/index.ts
index 4ec3df72..be556fb2 100644
--- a/api/src/routes/guilds/#guild_id/index.ts
+++ b/api/src/routes/guilds/#guild_id/index.ts
@@ -7,7 +7,8 @@ import { GuildCreateSchema } from "../index";
 
 const router = Router();
 
-export interface GuildUpdateSchema extends Omit<GuildCreateSchema, "channels"> {
+export interface GuildUpdateSchema extends Omit<GuildCreateSchema, "channels" | "name"> {
+	name?: string;
 	banner?: string | null;
 	splash?: string | null;
 	description?: string;