Merge pull request #54 from rezero-household/fix/websocket-auth-token-field
fix: use correct auth field in gateway WebSocket handshake
This commit is contained in:
commit
f3e6c896a5
|
|
@ -146,7 +146,7 @@ export function useWebSocket() {
|
|||
role: 'operator',
|
||||
scopes: ['operator.admin'],
|
||||
auth: authTokenRef.current
|
||||
? { password: authTokenRef.current }
|
||||
? { token: authTokenRef.current }
|
||||
: undefined
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue