Skip to content

Commit b042777

Browse files
committed
fix grpc-proto-structs: fix grpc-proto-structs client stream Writer::Finish
commit_hash:dcb768459fd4d724b279451037a3a42e88194135
1 parent 29de496 commit b042777

File tree

1 file changed

+1
-1
lines changed
  • libraries/grpc-proto-structs/include/userver/grpc-proto-structs/client

1 file changed

+1
-1
lines changed

libraries/grpc-proto-structs/include/userver/grpc-proto-structs/client/stream.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ class Writer final {
9393
}
9494

9595
/// @brief Complete the RPC successfully
96-
StructsResponse Finish() { return writer_.Finish(); }
96+
StructsResponse Finish() { return proto_structs::MessageToStruct<StructsResponse>(writer_.Finish()); }
9797

9898
/// @brief Get call context, useful e.g. for accessing metadata.
9999
ugrpc::client::CallContext& GetContext() { return writer_.GetContext(); }

0 commit comments

Comments
 (0)