move Schema from util to gateway

This commit is contained in:
Flam3rboy
2021-02-10 22:04:55 +01:00
parent 38757c60e1
commit caafbc606c
4 changed files with 127 additions and 1 deletions
+2 -1
View File
@@ -1,8 +1,9 @@
import { CLOSECODES, Payload } from "../util/Constants";
import WebSocket from "../util/WebSocket";
import { checkToken, IdentifySchema } from "fosscord-server-util";
import { checkToken } from "fosscord-server-util";
import { setupListener } from "../listener/listener";
import { instanceOf } from "lambert-server";
import { IdentifySchema } from "../schema/Identify";
export async function onIdentify(this: WebSocket, data: Payload) {
try {