fix typo
This commit is contained in:
1 parent
ccef457e41
commit
9929f38f4d
1 file changed
+1
-1
@@ -11,7 +11,7 @@ let init (sc:ServiceContext.ServiceContext) : Model * Cmd<Msg> =
|
||||
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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user