We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7ff029 commit bbcfe9bCopy full SHA for bbcfe9b
embark-ui/src/services/api.js
@@ -241,15 +241,15 @@ export function webSocketProcess(credentials, processName) {
241
}
242
243
export function webSocketServices(credentials) {
244
- return new WebSocket(`ws://${credentials.host}/embark-api/services`, [credentials.token]);
+ return websocket(credentials, `/services`);
245
246
247
export function webSocketContractLogs(credentials) {
248
return websocket(credentials, `/contracts/logs`);
249
250
251
export function webSocketContracts(credentials) {
252
- return new WebSocket(`ws://${credentials.host}/embark-api/contracts`, [credentials.token]);
+ return websocket(credentials, `/contracts`);
253
254
255
export function webSocketContractEvents(credentials) {
0 commit comments