summary refs log tree commit diff
path: root/api/src/routes
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-08-01 20:39:20 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-08-01 20:39:20 +1000
commit40aee6d4fe0c2232743f8d1b6ac2f65d57cccc34 (patch)
treec0eb93afac0d2d76234639607e2760a3ca9276eb /api/src/routes
parentMerge branch 'master' into 2fa (diff)
parentfix: not being able to enable community (diff)
downloadserver-40aee6d4fe0c2232743f8d1b6ac2f65d57cccc34.tar.xz
Merge branch 'master' into 2fa
Diffstat (limited to 'api/src/routes')
-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;