summary refs log tree commit diff
path: root/src/api/routes/channels
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/channels
parentUse PrimaryIdColumn instead of PrimaryColumn in Invite and Category (diff)
downloadserver-7818e8dd3cff1cba078acd52cda4f852d6422a92.tar.xz
Missed some schemas
Diffstat (limited to 'src/api/routes/channels')
-rw-r--r--src/api/routes/channels/#channel_id/permissions.ts6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/api/routes/channels/#channel_id/permissions.ts b/src/api/routes/channels/#channel_id/permissions.ts
index 89be843f..0a816223 100644
--- a/src/api/routes/channels/#channel_id/permissions.ts
+++ b/src/api/routes/channels/#channel_id/permissions.ts
@@ -1,12 +1,11 @@
 import {
 	Channel,
 	ChannelPermissionOverwrite,
-	ChannelPermissionOverwriteType,
 	ChannelUpdateEvent,
 	emitEvent,
-	getPermission,
 	Member,
 	Role,
+	ChannelPermissionOverwriteSchema
 } from "@fosscord/util";
 import { Router, Response, Request } from "express";
 import { HTTPError } from "lambert-server";
@@ -16,9 +15,6 @@ const router: Router = Router();
 
 // TODO: Only permissions your bot has in the guild or channel can be allowed/denied (unless your bot has a MANAGE_ROLES overwrite in the channel)
 
-export interface ChannelPermissionOverwriteSchema
-	extends ChannelPermissionOverwrite {}
-
 router.put(
 	"/:overwrite_id",
 	route({