summary refs log tree commit diff
path: root/api/src/routes/guilds
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-08-06 10:48:21 +1000
committerGitHub <noreply@github.com>2022-08-06 10:48:21 +1000
commitb1e51d5e6e2913ee6101df343cbde721d3a350e9 (patch)
treef7e0b8e79e08f88842f79fc43655adc5d893d1e2 /api/src/routes/guilds
parentCaptcha checking (diff)
parentMerge pull request #815 from fosscord/translation (diff)
downloadserver-ts-b1e51d5e6e2913ee6101df343cbde721d3a350e9.tar.xz
Merge branch 'master' into feat/captchaVerify
Diffstat (limited to 'api/src/routes/guilds')
-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;