Update services.md (#22650)

pull/22660/head
James Newton-King 2021-07-03 10:50:59 +12:00 committed by GitHub
parent 985301cae2
commit 137f718e9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ public class GreeterService : GreeterBase
{
public override Task<HelloReply> SayHello(HelloRequest request, ServerCallContext context)
{
return Task.FromResult(new HelloRequest { Message = $"Hello {request.Name}" });
return Task.FromResult(new HelloReply { Message = $"Hello {request.Name}" });
}
}
```