Skip to content

Commit d12c21c

Browse files
committed
disable rest.websocket
1 parent 7967fb6 commit d12c21c

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/comms/rest-comms.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const debug = require('debug')('dataparty.comms.rest')
44

55
const dataparty_crypto = require('@dataparty/crypto')
66

7-
const WebsocketComms = require('./old-websocket-comms')
7+
//const WebsocketComms = require('./old-websocket-comms')
88
const AuthError = require('../errors/auth-error')
99

1010

@@ -325,6 +325,7 @@ class RestComms extends EventEmitter {
325325
}
326326
}
327327

328+
/*
328329
async websocket(reuse = true) {
329330
if (reuse && this.websocketComm && this.websocketComm.connected) {
330331
return this.websocketComm
@@ -349,7 +350,7 @@ class RestComms extends EventEmitter {
349350
350351
return comm.authorized()
351352
})
352-
}
353+
}*/
353354

354355
static async HttpRequest(verb, url, data) {
355356

0 commit comments

Comments
 (0)