use WebsocketRequest for type

This commit is contained in:
ITOH
2021-05-11 20:08:57 +02:00
parent 508970ce49
commit 59fbb976cb
2 changed files with 14 additions and 14 deletions

View File

@@ -34,11 +34,11 @@ export async function processQueue(id: number) {
: Array.isArray(value)
? value.map((v) => (typeof v === "bigint" ? v.toString() : v))
: value,
`Running forEach loop in ws.processQueue function for changing bigints to strings.`,
`Running forEach loop in ws.processQueue function for changing bigints to strings.`
);
}
ws.log("RAW_SEND", shard.id, { ...request });
ws.log("RAW_SEND", shard.id, request);
shard.ws.send(JSON.stringify(request));