chore: linting

This commit is contained in:
Nikhil Kothari 2024-06-21 17:26:16 +05:30
parent 525f5b7131
commit 85a40ee939

View file

@ -38,7 +38,7 @@ function authenticate_with_frappe(socket, next) {
} }
let headers = {}; let headers = {};
if (socket.authorization_header) { if (socket.authorization_header) {
headers["Authorization"] = socket.authorization_header; headers["Authorization"] = socket.authorization_header;
} else if (socket.sid) { } else if (socket.sid) {
headers["Cookie"] = `sid=${socket.sid}`; headers["Cookie"] = `sid=${socket.sid}`;