1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-05 10:22:31 +01:00

fix: not being able to enable community

This commit is contained in:
Puyodead1 2022-07-25 23:02:04 -04:00 committed by Madeline
parent 15090143d0
commit 1f72d884b2
2 changed files with 5 additions and 5 deletions

View File

@ -18260,6 +18260,9 @@
"GuildUpdateSchema": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"banner": {
"type": [
"null",
@ -18311,10 +18314,6 @@
"discovery_splash": {
"type": "string"
},
"name": {
"maxLength": 100,
"type": "string"
},
"region": {
"type": "string"
},

View File

@ -1,6 +1,7 @@
import { GuildCreateSchema } from "@fosscord/util";
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;