This commit is contained in:
Spencer Pogorzelski 2023-08-14 13:58:55 -07:00
parent b30172b4b0
commit e94cb17857

View file

@ -213,7 +213,7 @@ export class Connection {
const payloadJSON = JSON.stringify(payload); const payloadJSON = JSON.stringify(payload);
this.send( this.send(
seq, seq,
new TextEncoder().encode(payload), new TextEncoder().encode(payloadJSON),
C2SRequestTypes.WSClose C2SRequestTypes.WSClose
).catch((e) => { ).catch((e) => {
// At this point there is nothing left to clean up // At this point there is nothing left to clean up