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:
nyk 2026-03-02 11:51:19 +07:00 committed by GitHub
commit f3e6c896a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ export function useWebSocket() {
role: 'operator',
scopes: ['operator.admin'],
auth: authTokenRef.current
? { password: authTokenRef.current }
? { token: authTokenRef.current }
: undefined
}
}