summary refs log tree commit diff
path: root/api/src/routes/guilds/#guild_id/prune.ts
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2022-08-12 11:36:39 +0200
committerTheArcaneBrony <myrainbowdash949@gmail.com>2022-08-13 21:57:51 +0200
commit10bd81274722823f875ba31eaf5fc670bfb22ceb (patch)
tree9c622935ca99e791f7ee1e27ef67c9d23388012a /api/src/routes/guilds/#guild_id/prune.ts
parentMove some invite defaults into class (diff)
downloadserver-10bd81274722823f875ba31eaf5fc670bfb22ceb.tar.xz
Split schemas into files in util
Diffstat (limited to 'api/src/routes/guilds/#guild_id/prune.ts')
-rw-r--r--api/src/routes/guilds/#guild_id/prune.ts7
1 files changed, 0 insertions, 7 deletions
diff --git a/api/src/routes/guilds/#guild_id/prune.ts b/api/src/routes/guilds/#guild_id/prune.ts
index 01f18ce4..673f022f 100644
--- a/api/src/routes/guilds/#guild_id/prune.ts
+++ b/api/src/routes/guilds/#guild_id/prune.ts
@@ -62,13 +62,6 @@ router.get("/", route({}), async (req: Request, res: Response) => {
 	res.send({ pruned: members.length });
 });
 
-export interface PruneSchema {
-	/**
-	 * @min 0
-	 */
-	days: number;
-}
-
 router.post("/", route({ permission: "KICK_MEMBERS", right: "KICK_BAN_MEMBERS" }), async (req: Request, res: Response) => {
 	const days = parseInt(req.body.days);