chore: linting
This commit is contained in:
parent
525f5b7131
commit
85a40ee939
1 changed files with 1 additions and 1 deletions
|
|
@ -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}`;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue