Skip to content

Commit 44932d0

Browse files
committed
Include auth state in initial state
1 parent 53c9674 commit 44932d0

File tree

1 file changed

+1
-0
lines changed
  • packages/streamwall-control-server/src

1 file changed

+1
-0
lines changed

packages/streamwall-control-server/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ async function initApp({ baseURL, clientStaticPath }: AppOptions) {
206206
if (msg.type === 'state') {
207207
if (clientState === null) {
208208
clientState = new StateWrapper(msg.state)
209+
clientState.update({ auth: auth.getState() })
209210
currentStreamwallConn = {
210211
ws,
211212
clientState,

0 commit comments

Comments
 (0)