From da303731cf99738edf5323ba63ecd338f99d5760 Mon Sep 17 00:00:00 2001 From: Daniil Lohvinov Date: Mon, 20 Nov 2023 22:13:12 +0200 Subject: [PATCH] refactor: added comment [WTEL-4036] --- src/modules/call/store/call.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/call/store/call.js b/src/modules/call/store/call.js index 11c32ff..f3843b5 100644 --- a/src/modules/call/store/call.js +++ b/src/modules/call/store/call.js @@ -28,6 +28,7 @@ const getters = { const actions = { START_USER_AGENT: (context) => { + // why Promise? https://my.webitel.com/browse/WTEL-4036 return new Promise((resolve, reject) => { try { const socket = new JsSIP.WebSocketInterface(context.rootState.config.call.url);