diff --git a/realtime/middlewares/authenticate.js b/realtime/middlewares/authenticate.js index 40b7a43a9e..022ba1f597 100644 --- a/realtime/middlewares/authenticate.js +++ b/realtime/middlewares/authenticate.js @@ -38,7 +38,7 @@ function authenticate_with_frappe(socket, next) { } let headers = {}; - if (socket.authorization_header) { + if (socket.authorization_header) { headers["Authorization"] = socket.authorization_header; } else if (socket.sid) { headers["Cookie"] = `sid=${socket.sid}`;