summary refs log tree commit diff
path: root/src/gateway/opcodes/RequestChannelInfo.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/gateway/opcodes/RequestChannelInfo.ts')
-rw-r--r--src/gateway/opcodes/RequestChannelInfo.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gateway/opcodes/RequestChannelInfo.ts b/src/gateway/opcodes/RequestChannelInfo.ts

index efa3e728..8cb9098d 100644 --- a/src/gateway/opcodes/RequestChannelInfo.ts +++ b/src/gateway/opcodes/RequestChannelInfo.ts
@@ -16,9 +16,10 @@ along with this program. If not, see <https://www.gnu.org/licenses/>. */ +import { Channel } from "@spacebar/database"; import { WebSocket, Payload, OPCODES, Send, handleOffloadedGatewayRequest } from "@spacebar/gateway"; import { ChannelType } from "@spacebar/schemas"; -import { Channel, Config } from "@spacebar/util"; +import { Config } from "@spacebar/util"; export async function onRequestChannelInfo(this: WebSocket, { d }: Payload) { // Schema validation can only accept either string or array, so transforming it here to support both