mirror of
https://github.com/spacebarchat/server.git
synced 2026-04-26 13:07:34 +00:00
fix: not being able to enable community
This commit is contained in:
committed by
Erkin Alp Güney
parent
5fe1f01ad9
commit
9ab01e0404
@@ -6828,6 +6828,9 @@
|
||||
"GuildUpdateSchema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"banner": {
|
||||
"type": [
|
||||
"null",
|
||||
@@ -6873,10 +6876,6 @@
|
||||
"preferred_locale": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"maxLength": 100,
|
||||
"type": "string"
|
||||
},
|
||||
"region": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -6897,9 +6896,6 @@
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"name"
|
||||
],
|
||||
"definitions": {
|
||||
"Embed": {
|
||||
"type": "object",
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user