fix(redis): connect pubsub to desktop websocket server
This commit is contained in:
1 parent
af9ad39ffb
commit
074715b002
6 files changed
+25
-8
No files matched your search
@@ -65,7 +65,7 @@ async function connect() {
|
||||
if (ws && ws.readyState === WebSocket.OPEN) return;
|
||||
connecting.value = true;
|
||||
try {
|
||||
ws = api.redisPubSubConnect(props.connectionId);
|
||||
ws = await api.redisPubSubConnect(props.connectionId);
|
||||
|
||||
ws.onopen = () => {
|
||||
connected.value = true;
|
||||
|
||||
Reference in new issue
Block a user