diff --git a/src/web/ui/src/Home/State.fs b/src/web/ui/src/Home/State.fs index 24f01e8f3..a0a8f9968 100644 --- a/src/web/ui/src/Home/State.fs +++ b/src/web/ui/src/Home/State.fs @@ -11,7 +11,7 @@ let init (sc:ServiceContext.ServiceContext) : Model * Cmd = let transform (rpc:HelloService.HelloService) (name:string) = Cmd.ofPromise rpc.say_hello - { new HelloService.HelloRequest with member __.name = "bob" } + { new HelloService.HelloRequest with member __.name = name } (fun reply -> RpcResponse reply.message) (fun _ -> RpcResponse <| "Error: " + name)