Skip to content

Commit

Permalink
Use dot notation
Browse files Browse the repository at this point in the history
  • Loading branch information
mpscholten committed Feb 5, 2023
1 parent aca1a71 commit 351ae3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IHP/WebSocket.hs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ startWSApp connection = do
let runWithPongChan pongChan = do
let connectionOnPong = writeChan pongChan ()
let ?connection = connection
{ WebSocket.connectionOptions = (get #connectionOptions connection) { WebSocket.connectionOnPong }
{ WebSocket.connectionOptions = connection.connectionOptions { WebSocket.connectionOnPong }
}
in
run @state
Expand Down

0 comments on commit 351ae3c

Please sign in to comment.