fix libraries changes
This commit is contained in:
parent
ec90cda066
commit
4bb063e4eb
6 changed files with 41 additions and 34 deletions
|
|
@ -7,7 +7,7 @@ let get_state_unsafe user_id =
|
|||
| Ok state -> state
|
||||
|
||||
let handle_client request client =
|
||||
match Dream.session "user_id" request with
|
||||
match Dream.session_field request "user_id" with
|
||||
| None -> Dream.log "User does not exists" |> Lwt.return
|
||||
| Some user_id ->
|
||||
(* send user island state for the first time *)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue