nyk commited on
Commit
842a4fa
·
unverified ·
2 Parent(s): bcf02e02303c2e

Merge pull request #54 from rezero-household/fix/websocket-auth-token-field

Browse files
Files changed (1) hide show
  1. src/lib/websocket.ts +1 -1
src/lib/websocket.ts CHANGED
@@ -146,7 +146,7 @@ export function useWebSocket() {
146
  role: 'operator',
147
  scopes: ['operator.admin'],
148
  auth: authTokenRef.current
149
- ? { password: authTokenRef.current }
150
  : undefined
151
  }
152
  }
 
146
  role: 'operator',
147
  scopes: ['operator.admin'],
148
  auth: authTokenRef.current
149
+ ? { token: authTokenRef.current }
150
  : undefined
151
  }
152
  }