Skip to content

Commit

Permalink
Fix WebSocket
Browse files Browse the repository at this point in the history
  • Loading branch information
1aerostorm committed Dec 13, 2023
1 parent 6760969 commit dbfb7e2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/utils/NotifyApiClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ async function connectNotifyWs() {
})

notifyWs.addEventListener('message', (msg) => {
console.log('notifyWs message:', msg)
if (window._notifyDebug) {
console.log('notifyWs message:', msg)
}
const data = JSON.parse(msg.data)
const id = data.id
const request = window.notifyWsReq.requests[id]
Expand Down

0 comments on commit dbfb7e2

Please sign in to comment.