summary refs log tree commit diff
path: root/src/api/routes/guilds/#guild_id
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-09-28 16:39:05 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-09-28 16:39:05 +1000
commit7818e8dd3cff1cba078acd52cda4f852d6422a92 (patch)
treedb2a5e91a0505e91be49ba5825919051326108d6 /src/api/routes/guilds/#guild_id
parentUse PrimaryIdColumn instead of PrimaryColumn in Invite and Category (diff)
downloadserver-7818e8dd3cff1cba078acd52cda4f852d6422a92.tar.xz
Missed some schemas
Diffstat (limited to 'src/api/routes/guilds/#guild_id')
-rw-r--r--src/api/routes/guilds/#guild_id/index.ts18
1 files changed, 1 insertions, 17 deletions
diff --git a/src/api/routes/guilds/#guild_id/index.ts b/src/api/routes/guilds/#guild_id/index.ts
index 715a3835..04cb76c2 100644
--- a/src/api/routes/guilds/#guild_id/index.ts
+++ b/src/api/routes/guilds/#guild_id/index.ts
@@ -8,29 +8,13 @@ import {
 	GuildUpdateEvent,
 	handleFile,
 	Member,
-	GuildCreateSchema,
+	GuildUpdateSchema,
 } from "@fosscord/util";
 import { HTTPError } from "lambert-server";
 import { route } from "@fosscord/api";
 
 const router = Router();
 
-export interface GuildUpdateSchema extends Omit<GuildCreateSchema, "channels"> {
-	banner?: string | null;
-	splash?: string | null;
-	description?: string;
-	features?: string[];
-	verification_level?: number;
-	default_message_notifications?: number;
-	system_channel_flags?: number;
-	explicit_content_filter?: number;
-	public_updates_channel_id?: string;
-	afk_timeout?: number;
-	afk_channel_id?: string;
-	preferred_locale?: string;
-	premium_progress_bar_enabled?: boolean;
-}
-
 router.get("/", route({}), async (req: Request, res: Response) => {
 	const { guild_id } = req.params;